Library navigation

Breadcrumb

A breadcrumb navigation trail with links and a current-page indicator.

Installation

bunx shadcn@latest add https://ui.razeev.com/r/breadcrumb.json

Usage

tsx
import { Breadcrumb } from "@/components/hangry-ui/components/breadcrumb";
<Breadcrumb items={[{ label: "Home", href: "/" }, { label: "Settings" }]} />

Props

PropTypeDefaultDescription
items{ label: string; href?: string }[]Home → Components → BreadcrumbNavigation items. The final item is the current page; earlier items with href become links.
classNamestring""Additional CSS classes on the component root.
Native propsComponentProps<"nav">—Forwards native nav attributes, aria-* attributes, and event handlers.

Setup notes

Use Tailwind CSS v4. Borders use the global border-border token. No rounded classes or additional packages are required. Customize content with props and styling with className.