Skip to content
1 viewer
View
Component · Navigation

Breadcrumb

The trail from a section to the current page: earlier items link back, the last names where the reader is. Same markup as the `breadcrumb_html` string helper.

Category
Navigation
Slots
4
States
0
Writer
Shared
cre8.primitive.breadcrumb
Edit live

Preview

Live renderShared SSR + WASM writers
<Breadcrumb
  items={[
    { href: "/view/shop/list", label: "Shops" },
    { href: "/view/shop/storefront/north-loop", label: "North Loop Ceramics" },
    { label: "Orders" }
  ]}
/>
Change this declaration and watch it render:open Breadcrumb in the playground

Props

The inputs the shared writer reads. `data-*` and `aria-*` attributes pass through and are not listed.

PropTypeRequiredDefaultAlso written
idtextOptional——
itemsjsonRequired——
2 rows

Anatomy

The named parts of the rendered markup. Recipes style these hooks, and every renderer keeps them stable.

SlotDOM class
root.cre8-breadcrumb
list—
item—
current—
4 rows
Role
navigation

States and platforms

The states the contract publishes, the platforms it declares, and the style recipes that dress it.

States
No published states
Platforms
webruntime-node
Recipes
unstyledruntime-console

Renderers

Shared writer
Breadcrumb renders through the one writer the server and the WASM DOM share, so both emit the same markup.

Every tag in the example above renders through a shared writer.

Declared adapters. A status is the manifest's declaration, not a measured parity result.

TargetRendererStatus
webreactexperimental
runtime-nodeview-nodeready
ssrhtml-navigationready
terminalterminal-textplanned
4 rows

Accessibility

A labelled navigation landmark holding an ordered list of links.

  • The nav carries aria-label="Breadcrumb", so it is distinct from the page's main navigation.
  • The last item is the current page: aria-current="page" and never a link.
  • Earlier items without an href render as plain text, not as dead links.