shadcn.io is not affiliated with official shadcn/ui
Breadcrumb examples · Home Icon
Breadcrumb with Ellipsis (Home Icon) for React
A breadcrumb trail with a home icon and an ellipsis standing in for the collapsed middle of a deep path.
Deep paths overflow. This trail keeps the home icon, the parent and the current page, and puts BreadcrumbEllipsis where the levels between them would be. Use it in file trees, nested docs and category pages; when people need to reach the hidden levels, use the dropdown version instead.
Preview
Installation
FAQ
Does the ellipsis open anything?
No. BreadcrumbEllipsis is only the mark: a more icon, hidden from assistive tech, with visually hidden More text. It isn't a button.
How do I let people reach the hidden levels?
Put a Dropdown Menu in that BreadcrumbItem, with the ellipsis or an icon as its trigger and the hidden levels as items. The dropdown version does that with a folder icon.
How is the home icon named?
The link to / holds only a HomeIcon at size-4, hidden from assistive tech, so the link carries aria-label="Home". Screen readers announce it as the Home link.
Which separator sits between the crumbs?
An empty BreadcrumbSeparator renders a chevron, hidden from assistive tech.
Related
- Breadcrumb with Ellipsis (Standard)A breadcrumb trail with a text Home link
- Breadcrumb with Dropdown (Home Icon)A breadcrumb trail with a home icon and a
- Breadcrumb with Select (Home Icon)A breadcrumb trail with a home icon and
- Breadcrumb with Icons (Home Icon)A breadcrumb trail with a home icon for
- Breadcrumb with Border (Home Icon)A breadcrumb trail with a home icon
- Breadcrumb with Bullet Separator (Home Icon)A breadcrumb trail with a home icon and