Skip to content

Breadcrumb

A trail of links from the home page to the current page.

An item with an href renders a link. Mark the current page active: it renders as plain text with aria-current="page", even with an href.

separator sets the character between items: default (a slash), dots, arrows or bullets:

muted gives the links the color of the text around them:

Breadcrumb:

Prop Type Default Description
separator string 'default' default dots (breadcrumb-dots) arrows (breadcrumb-arrows) bullets (breadcrumb-bullets)
muted bool false Muted links (breadcrumb-muted)

The component renders a <nav aria-label="breadcrumbs"> around the list; other attributes go to the <ol class="breadcrumb">.

Breadcrumb:Item:

Prop Type Default Description
href string? null Link target; without it, the item is plain text
active bool false The current page: plain text, with aria-current="page"

Other attributes go to the <li class="breadcrumb-item">.

Component Renders
Breadcrumb:Item <li class="breadcrumb-item">, with an <a> when it links