Skip to content
loseta

Components / Navigation

Breadcrumb

Displays the path to the current resource using a hierarchy of links.

Status stableWorks with dropdown-menu

Installation

pnpm dlx loseta add breadcrumb
npx loseta add breadcrumb

Examples

Collapsed

Accessibility and behavior

  • Use nav[aria-label="breadcrumb"] and an ordered list. Mark the current page with aria-current="page" and separators with aria-hidden="true".

Files

components/breadcrumb.cssbase
styles/nova/breadcrumb.cssstyle

Install contract

The CLI writes the base file under components/, the visual file for the selected style under styles/<name>/, and any primitive dependency underprimitives/. The generated index.css imports them in the right layer order.

← Back to components

loseta is MIT licensed. Built with native CSS, no runtime. Inspired byshadcn/ui.