Breadcrumb
The path to the current page, with links back up.
- Use it for
- Showing where a page sits in a hierarchy, with links back up.
- Not for
- Steps of a process. Try Stepper.
Breadcrumb preview
Loading example…
Installation
npm install @stackunseen/uiimport { Breadcrumb } from '@stackunseen/ui';Styles:
@stackunseen/ui/styles.cssUsage and props
Use real links for the pages above. The last item is the current page and isn’t a link.
Supported inputs
This is the public signature used by this example. Open Code to see how the values and callbacks fit together.
items: {id,label,href?,onClick?}[] · currentId? · label? · separator?All props
Loading…
For your coding agent
Give the agent this page instead of a screenshot. The prompt wraps the page with the install and import lines and the rule that your server, not a click, completes an action.
- Contract
- items: {id,label,href?,onClick?}[] · currentId? · label? · separator?
- Keeps honest
- Use real links for the pages above. The last item is the current page and isn’t a link.
- MCP
read_component "Breadcrumb"on the docs endpoint
Keyboard and customization
Keyboard
Tab visits ancestor links. The current page is readable text with aria-current="page".
Customization
Change shared colors, spacing, corners and icons with the theme. Use the component's supported props to adapt its content and layout. Customization guide and Theme Studio