byronwade/ui
Application UI

Data display · Application UI

Breadcrumb

A compound navigation component that renders an accessible breadcrumb trail with support for links, the current page, separators, and an ellipsis for collapsed items.

Feature showcase

Installation

Features

  • 7 examples

    Default, Custom Separator, Long Path, Responsive, With Ellipsis, With Icons, With Render Prop.

API

Props

PropTypeDefaultDescription
classNamestring-Additional CSS classes applied to the root <nav> element.
...propsReact.ComponentProps<"nav">-All standard HTML nav attributes are forwarded to the root element.

Source and related

FilePath
Componentregistry/ui/breadcrumb.tsx
Default examplecontent/examples/breadcrumb/default.tsx
Custom Separator examplecontent/examples/breadcrumb/custom-separator.tsx
Long Path examplecontent/examples/breadcrumb/long-path.tsx
Responsive examplecontent/examples/breadcrumb/responsive.tsx
With Ellipsis examplecontent/examples/breadcrumb/with-ellipsis.tsx
With Icons examplecontent/examples/breadcrumb/with-icons.tsx
With Render Prop examplecontent/examples/breadcrumb/with-render-prop.tsx