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

Breadcrumb

A trail of links from the site root down to the current page.

ComponentsBreadcrumb
navigationhybrid
<arc-breadcrumb>

Overview

Breadcrumb shows where the current page sits in the site's hierarchy. Each crumb links to a parent page, and the last crumb is the current page, so users can jump several levels up without pressing Back. Use it next to a sidebar or top bar, not in place of one. Write the trail as `<arc-breadcrumb-item>` children. The component renders a `<nav>` with `aria-label="Breadcrumb"` (change it with `label`) and gives the last crumb `aria-current="page"`. The `separator` character (default `/`) goes between crumbs and is hidden from screen readers. The crumbs aren't in an `<ol>` as the WAI-ARIA Breadcrumb pattern has them, so screen readers don't announce them as a list. Crumbs with an `href` render as ordinary `<a>` links. `arc-navigate` fires only from a crumb before the last that has no `href`, which renders as a button.

Guidelines

Do

  • Put the trail near the top of the page, above the main heading
  • Start with the root page ("Dashboard" or "Home")
  • Keep crumb labels to one or two words that match the page titles
  • Use breadcrumbs in apps with three or more levels

Don't

  • Don't make the last crumb a link. It is the page the user is already on
  • Don't show a trail on a top-level page. One crumb tells the user nothing
  • Don't put breadcrumbs and a back button in the same spot. Pick one
  • Don't go past five or six levels. A trail that deep means the site is nested too far

Features

  • The current crumb is set apart by color alone: primary text against the muted links
  • Long trails wrap onto a second line on narrow screens

Preview

Dashboard Projects ARC UI Settings

Usage

Its events and state need JavaScript, so use the Web Component or a framework wrapper for those.

<arc-breadcrumb>
  <arc-breadcrumb-item href="/dashboard">Dashboard</arc-breadcrumb-item>
  <arc-breadcrumb-item href="/dashboard/projects">Projects</arc-breadcrumb-item>
  <arc-breadcrumb-item href="/dashboard/projects/arc-ui">ARC UI</arc-breadcrumb-item>
  <arc-breadcrumb-item>Settings</arc-breadcrumb-item>
</arc-breadcrumb>

API

separatorstring'/'
Character used as the separator between breadcrumb items. Common options: '/', '>', '•'.
labelstring'Breadcrumb'

Events

arc-navigate
Fired when a breadcrumb item is clicked

BreadcrumbItem

<arc-breadcrumb-item>

One crumb in a Breadcrumb trail. An item with an `href` renders as a link. The last item is always the current page, shown in the primary text color.

resolvedHref
Destination, preferring the explicit attribute over an anchor child. Authoring <arc-breadcrumb-item><a href="/docs">Docs</a></arc-breadcrumb-item> leaves a working trail in the pre-upgrade markup; arc-breadcrumb hides this light DOM only once it has re-rendered it into shadow DOM.
label
textContent already reaches through an anchor child, so this needs no special case.
hrefstring''
Navigation URL for this crumb. When provided, the crumb renders as a clickable link styled in muted text that brightens on hover. Omit this property on the final item to mark it as the current page; it will receive aria-current="page" and the primary text color automatically.

See also