Skip to content

Breadcrumb ​

Trail

Where a page sits in a hierarchy of three or more levels, each step a link back up. A flat site doesn't need one, and it doesn't replace the main navigation.

Basic
  • The last item is the current page (aria-current="page") and is not a link.
  • Links go through your router when one is provided (Install).
  • separator is drawn, not read; #item renders an item yourself with { item, last }.

Usage ​

ts
import { BlessBreadcrumb } from "blessing-ui";

API ​

Props

NameTypeDefaultDescription
items*BlessCrumb[]—
labelstring"Breadcrumb"
separatorstring"/"

Slots

NameScopeDescription
item{ item: BlessCrumb; last: boolean; }

Released under the MIT License. Character names and artwork belong to their owners.