Skip to content

Breadcrumb

Displays hierarchical navigation path, allowing users to trace their steps back to the starting point.

First release: 1.0.0 Latest update: July 1, 2025 Current version: 1.0.0

React Angular Vue Svelte HTML

Import

import { PlusBreadcrumb } from '@plusui/react';
import { PlusBreadcrumbComponent } from '@plusui/angular';
import { PlusBreadcrumb } from '@plusui/vue';
import PlusBreadcrumb from '@plusui/svelte';
<script src="https://cdn.jsdelivr.net/npm/@plusui/core"></script>

Package

@plusui/react
@plusui/angular
@plusui/vue
@plusui/svelte
@plusui/core

Docs

Changelog

Breadcrumb Changelog

Recent changes and updates for the breadcrumb component

v1.0.0

June 20, 2025
Feat

Added Breadcrumb component for navigation

  • Hierarchical navigation display
  • Prefix and suffix icons
  • Separator customization
  • Accessibility support

The Breadcrumb component provides a navigational aid that displays the user’s current location within the site hierarchy and allows them to easily navigate back to previous levels. It’s typically placed horizontally before the page title or main content.

Breadcrumb - anatomy

Create a breadcrumb trail by nesting plus-breadcrumb-item components within the plus-breadcrumb. The last item is automatically considered the current page.

HomeCategoryCurrent Page
Show code

Use the separator property to change the visual separator between items. Allowed values are 'arrow' (default) and 'slash'.

HomeProductsGadgetsHomeProductsGadgets
Show code
Breadcrumb - layout spacing Breadcrumb - light & dark mode
  • Keyboard Behavior:
    • Users can navigate through the breadcrumb links using the Tab key.
    • Each link can be activated using Enter or Space.
  • Screen Reader:
    • The component is wrapped in a <nav> element with aria-label="breadcrumb" to identify it as a navigation landmark.
    • The current page item (the last item without an href) includes aria-current="page" to indicate its status.
    • Separators are hidden from screen readers using aria-hidden="true".
  • Required Developer Actions:
    • Ensure that href attributes are provided for all navigable plus-breadcrumb-item elements.
    • Provide meaningful text content for each plus-breadcrumb-item.
NameTypeDefaultDescriptionRequired
labelstring'breadcrumb'The aria-label for the underlying <nav> element. Override for internationalization or specific context.No
separator'arrow' | 'slash''arrow'Defines the visual separator between items.No
NameDescription
(default)Container for plus-breadcrumb-item elements.
NameTypeDefaultDescriptionRequired
hrefstringundefinedThe URL to navigate to when the item is clicked. If omitted, the item is treated as the current page (non-interactive).No (Required for links)
NameDescription
(default)The text content of the breadcrumb item.
PartDescription
baseThe main container (<nav>) element.
listThe list (<ol>) wrapping the items.
separatorThe separator element displayed between items.
PartDescription
baseThe list item (<li>) element.
linkThe anchor (<a>) element (if href exists).
textThe non-interactive text span (if no href).
NameDescription
--separator-colorColor of the default separator.
--gapSpace between items and separators.

<plus-breadcrumb-item> CSS Custom Properties

Section titled “<plus-breadcrumb-item> CSS Custom Properties”
NameDescription
--colorText color of the item.
--color-hoverText color on hover (links only).
--text-decorationText decoration (links only).
--text-decoration-hoverText decoration on hover (links only).
--color-currentText color of the current item (last item without href).
--text-decoration-currentText decoration of the current item.

Join the Community

Plus UI is built by the community. Join us on our platforms to contribute, get help, and stay up to date.