Navigation
Breadcrumb
Shows where a page sits in the hierarchy, with an optional home icon and a collapsed middle for long trails.
Group: Navigation. Exports: Breadcrumb. shadcn/ui equivalent: Breadcrumb (partial parity).
Usage
import { Breadcrumb } from "./halaska-kit";
Breadcrumb props
itemsarray: The entries to render.maxVisiblenumber:homeboolean:
Accessibility
- Renders a nav element labelled "Breadcrumb", and the last item is marked with aria-current.
- An item with href renders a link, one with onClick renders a button, and the rest are plain text.
- The collapsed marker takes focus and shows the hidden levels on focus or hover. Those levels are plain text, not links.
- The home icon is an image labelled "Home". It is not a link.
Known gaps
- The separator is always a slash.
- Collapsed items show as a hover list, not a menu you can pick from.
Halaska UI · Components · Patterns · Screens · Install