Breadcrumb

NEW

A navigation trail with a gliding hover pill, smooth expansion for collapsed trails with automatic focus transfer, and light/dark theme adaptation.

Separator style:

Installation

Add the component directly to your repository using shadcn CLI:

npx shadcn@latest add Surajmaurya1/easyui/breadcrumb

API Reference

PropTypeDefaultDescription
itemsBreadcrumbItem[]undefinedArray of breadcrumb items with label, href, and optional icon
separator'chevron' | 'slash''chevron'Separator style between breadcrumb items
maxItemsnumber4Collapse the middle items when length exceeds this number
asReact.ElementType'a'Custom link component (e.g. Next.js Link)
classNamestringundefinedAdditional CSS classes for the nav container