Getting Started
Foundations
Components
Search for a command to run...
Breadcrumbs display a trail of links showing the user's path from the homepage to their current location. They help users understand where they are in the site structure and provide a quick way to navigate back to parent pages. Breadcrumbs are typically placed near the top of the page, below the main navigation.
The component automatically includes proper ARIA labels and semantic HTML for accessibility.
import { Breadcrumb } from "@strongtie/design-system/breadcrumb"This module exports the following components:
BreadcrumbBreadcrumbListBreadcrumbItemBreadcrumbLinkBreadcrumbPageBreadcrumbSeparatorBreadcrumbEllipsis<Breadcrumb>| Prop | Type | Default | Description |
|---|---|---|---|
separator | ReactNode | - |
Components can be styled using the className prop. The design system uses Tailwind CSS for styling.
The following data attributes are used to identify component parts:
breadcrumbbreadcrumb-ellipsisbreadcrumb-itembreadcrumb-linkbreadcrumb-listbreadcrumb-pagebreadcrumb-separatorOther CSS classes used by this component:
breadcrumbbreadcrumb-ellipsisbreadcrumb-itembreadcrumb-linkbreadcrumb-listbreadcrumb-pagebreadcrumb-separatorsr-onlyEnsure proper accessibility attributes are added when implementing this component.