Trail of links representing the user's location in a hierarchical site structure, with pixel-chevron or slash separators per surface.
Renders <nav> + <ol>/<li> landmark with configurable aria-label.
Active crumb marked with aria-current="page" and emphasised typography.
Per-item href (link), onClick (button), or plain label — choose per crumb.
Pixel surface uses a crisp-edged chevron SVG; linear surface uses a slash separator.
SSR-safe, tree-shakable, and follows the nearest PxlKitSurfaceProvider.
Status
stable
Category
navigation
Since
v1.0.0
API
import { PixelBreadcrumb } from '@pxlkit/ui-kit';
Prop
Type
Default
Description
items* (required)
PixelBreadcrumbItem[]
—
Crumbs in order, from root to current page.
surface
'pixel' | 'linear'
—
Visual surface treatment override.
ariaLabel
string
'Breadcrumb'
Accessible label for the nav region.
ref points to its element (HTMLElement).
Accessibility
WCAG target: 2.1 AA
navigation
Rendered as a <nav> landmark with a configurable aria-label (defaults to "Breadcrumb"). Crumbs live inside an ordered <ol>/<li> list reflecting the hierarchy. The active crumb carries aria-current="page" and is rendered as a non-interactive <span> to convey the user's current location. Separators between crumbs use aria-hidden so screen readers skip the decorative chevron or slash.
Keyboard
Key
Action
When
Tab
Moves focus through interactive crumbs (links and buttons).
—
Enter
Activates the focused crumb link or button.
—
Space
Activates the focused crumb when rendered as a button.