Installation
Props
Breadcrumb
Root semantic navigation wrapper for a breadcrumb trail.
classNamestringThe root nav always uses aria-label="breadcrumb".
Compose BreadcrumbList, BreadcrumbItem, BreadcrumbLink, BreadcrumbPage, and BreadcrumbSeparator inside the root.
BreadcrumbList
Animated ordered list that lays out breadcrumb segments and separators.
classNamestringLayout changes are animated with Motion, and AnimatePresence uses popLayout so inserted or removed items keep the trail fluid.
BreadcrumbItem
Animated list item wrapper for each breadcrumb segment.
classNamestringBreadcrumbLink
Base UI render-compatible link for navigable breadcrumb segments.
hrefstringrenderReactElement | render functionclassNamestringBreadcrumbPage
Current page segment rendered as disabled link-like text with aria-current.
classNamestringBreadcrumbSeparator
Animated visual separator between breadcrumb items, defaulting to a chevron icon.
childrenReactNodeclassNamestringSeparators render with role='presentation' and aria-hidden.
BreadcrumbEllipsis
Compact overflow marker for collapsed breadcrumb paths.
classNamestringAccessibility and motion
The compound API keeps semantic breadcrumb structure while layering Motion on top.
BreadcrumbList wraps the trail in an ordered list.
BreadcrumbItem, BreadcrumbSeparator, and BreadcrumbEllipsis keep the same subtle fade, slide, and layout transitions from the previous implementation.
BreadcrumbPage marks the final segment with aria-current='page'.
Registry bundle
Install the exact registry entry shown on the right when you want the component file and its declared runtime dependencies together.
Dependencies: @base-ui/react, motion, lucide-react.