Breadcrumb
Presentational breadcrumb trail: a navigation named Breadcrumb, an ordered list and aria-current on the current page.
Example
breadcrumb-demo.tsxCopy code
Installation
Copy code
Brings alonglink
npm packages
lucide-reactUsage
ImportCopy code
API reference
Breadcrumb
Takes <nav> attributes and render.
BreadcrumbList
Takes <ol> attributes and render.
BreadcrumbItem
Takes <li> attributes and render.
BreadcrumbLink
Takes LinkProps.
BreadcrumbPage
Takes <span> attributes and render.
BreadcrumbSeparator
Takes <li> attributes and render.
BreadcrumbEllipsis
Takes <span> attributes and render.
Accessibility
- A navigation named Breadcrumb with an ordered list; the current page has aria-current=page.
Agent actions
Runs agent.snapshot() from @ui-sdk/react/agent on the live preview above.