breadcrumb
a wrapping path from the wider view to the current page. muted links lead back; the current page keeps foreground ink and names its position.
bunx --bun shadcn@latest add @mk/breadcrumbexample
follow the links back to the overview or the component list. the current page is the last part of the path.
variants
collapse a longer path with the more glyph, or pass a different separator. the omitted stretch links to the component list.
collapsed
more glyph names the omitted stretch
separator
a slash in place of the default pixel chevron
collapsed
more glyph names the omitted stretch
separator
a slash in place of the default pixel chevron
states
links change ink on hover and show the house ring on keyboard focus. the current page is a label, with aria-current set to page.
rest
muted instrument link
hover
link takes foreground ink
focus
outside house ring
current
foreground, aria-current page
rest
muted instrument link
hover
link takes foreground ink
focus
outside house ring
current
foreground, aria-current page