Breadcrumb

Navigation

Takes a block

Breadcrumb trail. An item without to is the current page.

Breadcrumb { … }

Example

Breadcrumb { Breadcrumb.Item(to: "/") { Text("Home") } Breadcrumb.Item(to: "/docs") { Text("Docs") } Breadcrumb.Item { Text("Components") } }

Renders with the class wf-breadcrumb, stable across releases, so a stylesheet may target it.

This element takes no props of its own.

Attribute families: global, aria, data. Plus the universal props on every element: animate:, exit:, speed:, class:, ref:.