Breadcrumb overview
Primitive imports
ts
import {
TngBreadcrumb,
TngBreadcrumbList,
TngBreadcrumbItem,
TngBreadcrumbLink,
TngBreadcrumbSeparator,
} from '@tailng-ui/primitives';
Basic composition
Compose a navigation landmark, an ordered list, linked ancestors, and a current-page text node. The primitive gives you stable slot hooks and a decorative separator contract.
Headless breadcrumb composition
html
<nav tngBreadcrumb aria-label="Docs path">
<ol tngBreadcrumbList>
<li tngBreadcrumbItem><a tngBreadcrumbLink href="/">Home</a></li>
<li tngBreadcrumbSeparator>/</li>
<li tngBreadcrumbItem><a tngBreadcrumbLink href="/docs">Docs</a></li>
<li tngBreadcrumbSeparator>/</li>
<li tngBreadcrumbItem><span aria-current="page">Breadcrumb</span></li>
</ol>
</nav>
Style variants
The same primitive markup rendered through a plain CSS contract or Tailwind utility shell.