Breadcrumb
Horizontal trail of ancestor links ending in the current page.
Preview
Home / Jobs / #4412
API
React props (NxKit)
| Prop | Type | Default | Required | Description |
|---|---|---|---|---|
items | {label,href?}[] | — | Required | Trail; the last item (no href) renders as the current page. |
Classes
| Class | Description |
|---|---|
.nx-breadcrumb | nav, wraps |
.nx-breadcrumb__sep | Decorative separator, aria-hidden |
.nx-breadcrumb__current | aria-current="page" |
Accessibility
- Wrapped in <nav aria-label="Breadcrumb">; the current page is a <span aria-current="page">, not a link.
- Separators are aria-hidden — they're visual only, not read by a screen reader.
Do / Don’t
- Do: End with the current page as plain text, not a link.Don’t: Don't add more than ~5 levels — collapse deep trails.