Getting startedComponentsDesign tokensThemingTheme synthesizerFrameworksAccessibilityUtilitiesServer renderingBrowser supportContributingChangelogApp ShellAspect GridAuth ShellCenterContainerDashboard GridFloat BarInsetMasonryPage HeaderPage LayoutResizableResponsive SwitcherSectionSettings LayoutSplit PaneStatus BarStickyToolbarAnchor NavBottom NavBreadcrumbBreadcrumb MenuCommand BarDrawerFooterLinkMenubarNavigation MenuPage IndicatorPaginationRailScroll IndicatorScroll SpyScroll To TopSidebarSkip LinkStepper NavTabsTop BarTree ViewAccordionAspect RatioAvatarAvatar GroupCardCarouselCollapsibleColor SwatchCTA BannerDividerEmpty StateFeature CardIconImageImage CompareImage HotspotsInfinite ScrollLightboxMarqueeQR CodeScroll AreaSkeletonSpinnerStackVideoVirtual ListActivity HeatmapAnimated NumberBadgeBar ListChartClockComparisonCountdown TimerData GridDescription ListDiffGaugeJSON TreeKanbanLevel MeterListMeterSparklineStatStepperTagTimelineUptimeValue CardWaveformBlockquoteCode BlockCode GroupGradient TextHighlightKbdKeyboard MapMarkdownNumber FormatProseTerminalTextTime AgoTruncateTypewriterButtonButton GroupCalendarCheckboxChipColor PickerComboboxCopy ButtonDate PickerDate Range PickerField ListFieldsetFile UploadFormHotkeyIcon ButtonImage CropperInline EditInputInput GroupKnobLabelMasked InputMulti SelectNumber InputPassword InputPin InputRadio GroupRange SliderRatingSearchSegmented ControlSelectSignature PadSliderSortable ListSwitch GroupTag InputTextareaTheme ToggleTime PickerToggleTransfer ListTree SelectAlertAnnouncementBannerCommand PaletteConfirmConnection StatusContext MenuConversationDialogDropdown MenuHover CardLoading OverlayNotification PanelPopoverProgressSheetToastTooltip
ARC UIARC Radiant Components
v4.9DocsComponentsTokensSynthesizer
Getting startedFrameworksServer renderingDesign tokensThemingTheme synthesizerTypographyUtilitiesAll componentsAccessibilityBrowser supportChangelogContributingStatsApp ShellAspect GridAuth ShellCenterContainerDashboard GridFloat BarInsetMasonryPage HeaderPage LayoutResizableResponsive SwitcherSectionSettings LayoutSplit PaneStatus BarStickyToolbarAnchor NavBottom NavBreadcrumbBreadcrumb MenuCommand BarDrawerFooterLinkMenubarNavigation MenuPage IndicatorPaginationRailScroll IndicatorScroll SpyScroll To TopSidebarSkip LinkStepper NavTabsTop BarTree ViewAccordionAspect RatioAvatarAvatar GroupCardCarouselCollapsibleColor SwatchCTA BannerDividerEmpty StateFeature CardIconImageImage CompareImage HotspotsInfinite ScrollLightboxMarqueeQR CodeScroll AreaSkeletonSpinnerStackVideoVirtual ListActivity HeatmapAnimated NumberBadgeBar ListChartClockComparisonCountdown TimerData GridDescription ListDiffGaugeJSON TreeKanbanLevel MeterListMeterSparklineStatStepperTagTimelineUptimeValue CardWaveformBlockquoteCode BlockCode GroupGradient TextHighlightKbdKeyboard MapMarkdownNumber FormatProseTerminalTextTime AgoTruncateTypewriterButtonButton GroupCalendarCheckboxChipColor PickerComboboxCopy ButtonDate PickerDate Range PickerField ListFieldsetFile UploadFormHotkeyIcon ButtonImage CropperInline EditInputInput GroupKnobLabelMasked InputMulti SelectNumber InputPassword InputPin InputRadio GroupRange SliderRatingSearchSegmented ControlSelectSignature PadSliderSortable ListSwitch GroupTag InputTextareaTheme ToggleTime PickerToggleTransfer ListTree SelectAlertAnnouncementBannerCommand PaletteConfirmConnection StatusContext MenuConversationDialogDropdown MenuHover CardLoading OverlayNotification PanelPopoverProgressSheetToastTooltip

Frameworks

Install and use ARC UI in React, Vue, Svelte, Angular, Solid and Preact, or with no framework.

Overview

The core @arclux/arc-ui package is Lit custom elements, which work with any framework or none. Prism, the project's code generator, reads the Lit source and writes a wrapper package for each of the six frameworks below. A wrapper adds:

  • Events bound the framework's way, such as React's onClick and Vue's @click
  • TypeScript types for every prop
  • Named imports per component, such as { Button, Card }

React

Published as @arclux/arc-ui-react. Install it with the core package and Lit:

The React wrappers are built with @lit/react's createComponent, which handles event binding and ref forwarding.

Vue

Published as @arclux/arc-ui-vue. Install it with the core package and Lit:

Svelte

Published as @arclux/arc-ui-svelte. Install it with the core package and Lit:

Angular

Published as @arclux/arc-ui-angular. Install it with the core package and Lit:

Add the stylesheet to your global styles, then import the standalone components:

Solid

Published as @arclux/arc-ui-solid. Install it with the core package and Lit:

Preact

Published as @arclux/arc-ui-preact. Install it with the core package and Lit:

Without a wrapper

You don't need a wrapper. Every component is a standard custom element, so<arc-button> works in a framework template as soon as the element is registered. Use this path if you'd rather not add a dependency, or if you already write custom elements elsewhere in the app.

Register what you use, with a side-effect import per component or the whole catalog at once:

Telling your framework the tag is real

Vue and Angular need one setting so the compiler doesn't treat an unknown tag as a mistake or as one of its own components. Svelte and Solid need nothing.

Typed tags in JSX

React, Preact and Solid each get a generated declaration file that types every ARC UI tag, with the same props and enum unions as the wrapper packages.Add it to your program as a file. A types entry incompilerOptions does nothing here. TypeScript resolves typesas a package name and doesn't follow an export subpath, so the tags stay untyped and nothing reports an error.

Swap in preact-jsx.d.ts or solid-jsx.d.ts as needed, or reference the file from one module instead:/// <reference path="./node_modules/@arclux/arc-ui/types/solid-jsx.d.ts" />

What you give up

The difference is custom events. Solid binds them withon:arc-change={handler}, and its declaration file types it. React 19 and Preact 10 attach a function prop whose name starts with on as a listener for the rest of the name, as written, so onarc-change={handler}listens for arc-change. Their declaration files accept any on*prop, so a misspelled event name compiles and never fires.The wrapper packages give each event a typed handler prop, such asonArcChange.

Vanilla JS / CDN

Install the core package and import components directly:

For pages that can't run JavaScript, @arclux/arc-ui-html has CSS-only versions of many components. They style plain HTML by class name and data-* attribute, and the package's examples/ folder has the markup for each.

See also