A path that folds its middle levels into a … menu and truncates long names with a tooltip.
Import it and pass your content. The props that matter most are listed next.
import { BreadcrumbTrail } from "@/components/ui/notchset/breadcrumb";
export function AppBar() {
return (
<BreadcrumbTrail
items={[
{ label: "Acme Labs", href: "/" },
{ label: "Atlas", href: "/atlas" },
{ label: "Planner", href: "/atlas/planner" },
{ label: "run_8F3A1" },
]}
/>
);
}items (BreadcrumbTrail)–
{ label, href?, type? }[]The path, root first; the last is the current page.
onNavigate (BreadcrumbTrail)–
(item, event) => voidCalled when a level is picked; preventDefault() to route on the client.
maxCrumbWidth (BreadcrumbTrail)–
numberWhere long names truncate (200px).
BreadcrumbTraildata-slot="breadcrumb"
The whole path from data, with folding.
Breadcrumb / BreadcrumbList / BreadcrumbItemdata-slot="breadcrumb-list"
shadcn's parts, to compose by hand.
BreadcrumbLink / BreadcrumbPagedata-slot="breadcrumb-link"
A level, or the current page.
BreadcrumbSeparator / BreadcrumbEllipsisdata-slot="breadcrumb-separator"
The slash, and the … mark.
components/ui/notchset/breadcrumb.tsx
pnpm dlx shadcn@latest add https://notchset.dev/r/breadcrumb.jsonpnpm dlx shadcn@latest add https://notchset.dev/r/radix-nova/breadcrumb.jsonFree, no account or key. Use the command for your project's primitives: a radix-*, new-york or default style in components.json is Radix, a base-* style is Base UI. With the @notchset registry added, @notchset/<name> picks for you.
The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Give your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v1.0.0 · 2026-10-04
First release