Breadcrumb

A navigation trail showing the current page's location in the hierarchy.

The Breadcrumb displays the path to the current page. Compose it from Breadcrumb, BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, BreadcrumbSeparator, and BreadcrumbEllipsis.

Preview

Usage

Installation

$ npx shadcn@latest add https://spark-ui-olive.vercel.app/r/breadcrumb.json

Properties

PropTypeDefaultDescription
asChildbooleanfalseBreadcrumbLink only: render the child element instead of an anchor.
classNamestringAdditional CSS classes. Available on every subcomponent.