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

Divider

Horizontal or vertical rule in nine styles, plain or glowing.

ComponentsDivider
contentstatic
<arc-divider>

Overview

Divider is a rule between sections. It has nine variants in two families, and picking the family comes first. **The illuminated set** is what Divider has always drawn. The default `subtle` is a token gradient that fades at both edges. `glow` adds a shimmer that loops every 6 seconds, using an `--accent-secondary` overlay with `mix-blend-mode: screen`, and stops under reduced motion. `line-white`, `line-primary` and `line-gradient` are centered 2px rules capped at 160px, 200px and 240px, for decorative breaks in a hero or between card groups. `line-primary` and `line-gradient` also cast a box-shadow glow. **The plain set came from `arc-separator`, which merged in here in v4.** `dashed` and `dotted` are the ordinary rules those names describe, and `line` is a flat single-color rule with no fade. `fade` is a flat, neutral edge-to-edge fade. `subtle` reads the `--gradient-divider` token instead, which is neutral in the default dark theme and tinted with the primary accent in the light theme. Migrating from Separator, the variants carry over unchanged and `orientation="vertical"` becomes the `vertical` flag. See [the Separator removal note](/docs/components/separator). `vertical` turns any variant into a top-to-bottom rule for a flex row, with `aria-orientation="vertical"`. `label` puts text in the middle of a horizontal divider, like the "OR" between two options. `align="left"` or `"right"` makes a gradient fade from one edge instead of both. The divider is a `<div>` with `role="separator"`.

Guidelines

Do

  • Use `subtle` as the everyday separator between sections
  • Use `dashed` or `dotted` where the rule marks a boundary instead of decorating one, such as a drop zone, an optional section or a cut line
  • Use `line` for a plain flat rule. It's the closest variant to a bare `<hr>`
  • Use `line-gradient` or `line-primary` as decorative breaks in hero and feature sections
  • Save `glow` for major section breaks

Don't

  • Don't put several glow dividers close together. The shimmers compete
  • Don't use the centered line variants in dense layouts. Their capped width leaves empty space on both sides
  • Don't rely on a divider alone to separate content. Use headings too

Features

  • CSS parts: `divider`, plus `line` and `label` on a labeled divider

Preview

Left Right

Usage

<arc-divider></arc-divider>
<arc-divider variant="glow"></arc-divider>
<arc-divider variant="line-gradient"></arc-divider>

<!-- The plain rules, absorbed from arc-separator -->
<arc-divider variant="dashed"></arc-divider>
<arc-divider variant="dotted"></arc-divider>
<arc-divider variant="fade"></arc-divider>
<arc-divider variant="line"></arc-divider>

<!-- Labeled divider -->
<arc-divider label="OR"></arc-divider>

<!-- Left-aligned gradient -->
<arc-divider variant="glow" align="left"></arc-divider>

<!-- Vertical divider between inline elements -->
<div style="display: flex; align-items: center; gap: 16px; height: 40px;">
  <span>Section A</span>
  <arc-divider vertical variant="line-primary"></arc-divider>
  <span>Section B</span>
</div>

API

labelstring''
Text displayed in the center of the divider, splitting it into two lines. Common use: 'OR' between form options. Only applies to horizontal dividers.
variant'subtle' | 'glow' | 'line-white' | 'line-primary' | 'line-gradient' | 'dashed' | 'dotted' | 'fade' | 'line''subtle'
Visual style. subtle, glow and the three line-* styles are the illuminated set. dashed, dotted and fade are the plain rule styles absorbed from arc-separator when it was merged here, along with line, its flat single-color rule. fade is the flat edge-to-edge fade, as distinct from subtle, which is the token gradient; line is the flat rule with no fade at all.
align'' | 'left' | 'right'''
Shifts the gradient origin so it fades from one edge instead of both. Empty (the default) fades from both edges. Useful for asymmetric layouts where the divider should visually connect to content on one side.
verticalbooleanfalse
Renders the divider as a vertical line. Switches to inline-flex display and rotates gradient directions to run top-to-bottom. Use inside flex rows to separate inline content.

See also