Breadcrumb
Navigationshadcn/uiThe path to the current page on desktop: 'Settings › Billing › Invoices'. Links in gray, the current page in the default color.
When to use
- Use it from the third level down, above the page title.
- Collapse the middle with BreadcrumbEllipsis past four levels.
- Don't use it on mobile; the AppBar back button does that job.
- Don't make the current page a link.
Accessibility
- Role
- navigation
- Keyboard
- Tab moves between links.
- Notes
- Separators are aria-hidden.
- Note
- The current page has aria-current='page'.
Props
BreadcrumbLink asChild= falsebooleanStyle a router link.
BreadcrumbSeparator childrenReactNodeReplace the chevron, e.g. with '/'.
Prompt for your agent
Use the UnbuiltUI Breadcrumb. Call unbuilt_get_component("Breadcrumb") first and follow its spec: variants, states, usage rules and accessibility.
unbuilt_get_component returns
0 variants3 states2 props4 usage rules3 a11y notes4 tokens1 example
Add it with shadcn
$
npx shadcn add https://unbuiltui.com/r/breadcrumb.jsonTokens · 4
fg.mutedfg.defaultfg.subtleborder.focus