Skip to content
THE COMPONENT LIBRARY
Skip to content

Component reference

Breadcrumbs

A path through nested application information.

Preview

Live preview

Changes apply to this preview only.

Width adapts to the available space

More examples

Different configurations and compositions using the real Pimolu API. Each preview runs independently and follows the site appearance.

A two-level trail with a working documentation link and a non-interactive current location.

Open preview

The last item is the current page, not a link.

Open preview

Any node can replace the default slash; it stays decorative.

Open preview

Usage

Use real destinations for ancestors and a clear label for the current location.

API reference

Generated from the public TypeScript declarations. Native HTML attributes are inherited where the component extends them; this reference includes Pimolu props and selected common native attributes.

PimoluBreadcrumbsProps

Type source
PimoluBreadcrumbsProps public API
NameTypeDefaultDescription
labelstring | undefined"Breadcrumb"Accessible name of the navigation landmark.
childrenRequiredReactNode"/"Public Pimolu prop; see the source declaration for details.
defaultValuestring | number | readonly string[] | undefined—Standard React/HTML attribute.
classNamestring | undefined—Standard React/HTML attribute.
styleCSSProperties | undefined—Standard React/HTML attribute.
aria-labelstring | undefined—Defines a string value that labels the current element.
onChangeChangeEventHandler<HTMLElement, Element> | undefined—Standard React/HTML attribute.
onClickMouseEventHandler<HTMLElement> | undefined—Standard React/HTML attribute.
label

string | undefined

Default: "Breadcrumb"

Accessible name of the navigation landmark.

childrenRequired

ReactNode

Default: "/"

Public Pimolu prop; see the source declaration for details.

defaultValue

string | number | readonly string[] | undefined

No default extracted.

Standard React/HTML attribute.

className

string | undefined

No default extracted.

Standard React/HTML attribute.

style

CSSProperties | undefined

No default extracted.

Standard React/HTML attribute.

aria-label

string | undefined

No default extracted.

Defines a string value that labels the current element.

onChange

ChangeEventHandler<HTMLElement, Element> | undefined

No default extracted.

Standard React/HTML attribute.

onClick

MouseEventHandler<HTMLElement> | undefined

No default extracted.

Standard React/HTML attribute.

PimoluBreadcrumbItemProps

Type source
PimoluBreadcrumbItemProps public API
NameTypeDefaultDescription
childrenRequiredReactNode"/"Public Pimolu prop; see the source declaration for details.
classNamestring | undefined—Public Pimolu prop; see the source declaration for details.
childrenRequired

ReactNode

Default: "/"

Public Pimolu prop; see the source declaration for details.

className

string | undefined

No default extracted.

Public Pimolu prop; see the source declaration for details.

PimoluBreadcrumbLinkProps

Type source
PimoluBreadcrumbLinkProps public API
NameTypeDefaultDescription
childrenRequiredReactNode"/"Public Pimolu prop; see the source declaration for details.
typestring | undefined—Standard React/HTML attribute.
defaultValuestring | number | readonly string[] | undefined—Standard React/HTML attribute.
classNamestring | undefined—Standard React/HTML attribute.
styleCSSProperties | undefined—Standard React/HTML attribute.
aria-labelstring | undefined—Defines a string value that labels the current element.
onChangeChangeEventHandler<HTMLAnchorElement, Element> | undefined—Standard React/HTML attribute.
onClickMouseEventHandler<HTMLAnchorElement> | undefined—Standard React/HTML attribute.
childrenRequired

ReactNode

Default: "/"

Public Pimolu prop; see the source declaration for details.

type

string | undefined

No default extracted.

Standard React/HTML attribute.

defaultValue

string | number | readonly string[] | undefined

No default extracted.

Standard React/HTML attribute.

className

string | undefined

No default extracted.

Standard React/HTML attribute.

style

CSSProperties | undefined

No default extracted.

Standard React/HTML attribute.

aria-label

string | undefined

No default extracted.

Defines a string value that labels the current element.

onChange

ChangeEventHandler<HTMLAnchorElement, Element> | undefined

No default extracted.

Standard React/HTML attribute.

onClick

MouseEventHandler<HTMLAnchorElement> | undefined

No default extracted.

Standard React/HTML attribute.

PimoluBreadcrumbSeparatorProps

Type source
PimoluBreadcrumbSeparatorProps public API
NameTypeDefaultDescription
childrenReactNode"/"Separator content. Defaults to "/".
classNamestring | undefined—Public Pimolu prop; see the source declaration for details.
children

ReactNode

Default: "/"

Separator content. Defaults to "/".

className

string | undefined

No default extracted.

Public Pimolu prop; see the source declaration for details.

PimoluBreadcrumbPageProps

Type source
PimoluBreadcrumbPageProps public API
NameTypeDefaultDescription
childrenRequiredReactNode"/"Public Pimolu prop; see the source declaration for details.
classNamestring | undefined—Public Pimolu prop; see the source declaration for details.
childrenRequired

ReactNode

Default: "/"

Public Pimolu prop; see the source declaration for details.

className

string | undefined

No default extracted.

Public Pimolu prop; see the source declaration for details.

Accessibility

  • Provide a navigation label and keep separators decorative.
Read the accessibility guide →