Breadcrumb
shadcn Breadcrumb on Base UI, Maia preset. Shows where a caregiver is in the plan and gets them back up a level.
Basic
- Links are bronze with no underline, like every standalone link.
- The last item is the current page: not a link, in the text colour.
- Names match the page titles they lead to.
Custom separator
- A slash for flat paths like files; the default chevron everywhere else.
- Separators are hidden from screen readers.
Dropdown
- A level with siblings can open a menu to jump between them.
- The trigger names the current choice and shows a chevron.
Collapsed
- Collapse the middle when the path is longer than four levels.
- Keep the first level and the last two visible.
- The ellipsis button says what it opens.
Link component
- Use next/link through the render function, so client navigation and prefetch work.
- Pass a function, not an element: the element form dropped the label from server pages.