Knit UI
GitHub

Playground

Loading playground…

Playground
<Breadcrumbs
  aria-label="Breadcrumb"
  separator="/"
  separatorMargin="$xs"
/>

Examples

Default Separator

Default separator "/" interleaved between crumbs — never trailing.

Loading example…

Default SeparatorSourceStorybook

Custom String Separator

A custom string separator in place of the default "/".

Loading example…

Custom String SeparatorSourceStorybook

Custom Element Separator

A React element — such as a unicode glyph — used as the separator.

Loading example…

Custom Element SeparatorSourceStorybook

Large Separator Margin

Wider spacing around each separator via a larger token.

Loading example…

Large Separator MarginSourceStorybook

String Crumbs

String and number children are auto-wrapped as themed text without extra markup.

Loading example…

String CrumbsSourceStorybook

Single Crumb

A single crumb renders without any separator.

Loading example…

Single CrumbSourceStorybook

Custom Aria Label

A custom landmark label distinguishes multiple breadcrumb trails on a page.

Loading example…

Custom Aria LabelSourceStorybook

Deep Trail

A long trail of crumbs wraps to the next line when space is limited.

Loading example…

Deep TrailSourceStorybook

Separator Showcase

Several breadcrumb trails side by side to compare separator styles.

Loading example…

Separator ShowcaseSourceStorybook

Styles

Per-slot styles targets individual parts — here the label crumbs and separator.

Loading example…

StylesSourceStorybook

Props

PropTypeDefaultDescription
children requiredReactNodeCrumbs to render; each becomes one breadcrumb.
aria-labelstring | undefined"Breadcrumb"Accessible label for the navigation landmark. Defaults to "Breadcrumb".
disabled systemboolean | undefined
separatorReactNode'/'Node placed between crumbs. Defaults to "/".
separatorMarginnumber | SpaceTokens | Animated.AnimatedNode | "safe" | null | undefined'$xs'Inline spacing around each separator. Tamagui token or CSS value.
shadow system"xs" | "sm" | "md" | "lg" | "xl" | "xxs" | "xxl" | undefined
styles systemSlotStyles<BreadcrumbsStyles> | undefinedPer-slot style sugar — props spread onto the matching styled part.
theme systemThemeName | null | undefinedApplies a theme to this element

Style slots

Every part of Breadcrumbs can be styled through the styles prop. Explicit props on the component always win over slot styles.

SlotUsage
labelstyles={{ label: { … } }}
rootstyles={{ root: { … } }}
separatorstyles={{ separator: { … } }}
Accessibility & DOM props (2)
PropType
keyKey | null | undefined
refRef<TamaguiElement> | undefined

Plus 496 inherited style props from Box — the full Tamagui/React Native style surface, including token shorthands like p, mx, bg and c. See Tokens for the scales they accept, or the full list.