Skip to content

Breadcrumb

Displays the path to the current resource using a hierarchy of links. Based on BrConfigProvider for global theming, supporting responsive folding and custom separators.

Basic Usage

The most basic breadcrumb navigation.

Example

Custom Separator

You can customize separators globally via props or locally using the default slot of BrBreadcrumbSeparator.

Example

Responsive Folding & Dropdown

When breadcrumbs get too long, use BrBreadcrumbEllipsis along with a dropdown menu (like DropdownMenu or a custom implementation) to fold items. This example shows a basic visual folding effect.

Example

Disabled Items & States

Control the state of a breadcrumb item via the state prop. Options include active (current page) and disabled (unclickable).

Example

Theming

Breadcrumbs deeply integrate with BrConfigProvider. You can customize theming by supplying different color variables, or override styles directly with TailwindCSS classes.

Example

API

BrBreadcrumb

NameTypeDefaultDescription
separatorType'icon' | 'text''icon'Separator type
separatorstring'ChevronRight'Separator value (icon name or string)

BrBreadcrumbItem

NameTypeDefaultDescription
classany-Custom class names
NameTypeDefaultDescription
asstring'a'HTML element to render
hrefstring-Link destination
toany-Vue Router navigation target
state'default' | 'active' | 'disabled''default'Active state of the link

BrBreadcrumbSeparator

NameTypeDefaultDescription
separatorstring-Overrides global separator