Breadcrumb
Shared, editable XML components from the breadcrumb family.
Usage
Declare the catalog namespace in your screen and run relo-components build to bundle its dependencies before delivery. Install Components host support before session creation. Use ui:Theme or your compatible theme.
<ui:Theme xmlns:ui="urn:relo:registry:relo">
<ui:Breadcrumb />
</ui:Theme>
Dependencies: theme.
Exports
ui:Breadcrumb · ui:BreadcrumbEllipsis · ui:BreadcrumbItem · ui:BreadcrumbLink · ui:BreadcrumbList · ui:BreadcrumbPage · ui:BreadcrumbSeparator
ui:Breadcrumb
| Prop | Default | Required |
|---|---|---|
| — | No declared user props | — |
Template signatures declare names and defaults, not static types. Values must satisfy the underlying primitive or service. Defaults preserve the exact source expression; the definition below shows how inputs are used. Use literal strings or bind-* for evaluated values. Unknown inputs and missing required props fail validation.
Events
No directly emitted output events.
Slots
- — caller children.
Definition and forwarded payloads
<Component name="Breadcrumb">
<Row class="items-center gap-1 text-rc-muted-foreground">
<Slot />
</Row>
</Component>
ui:BreadcrumbEllipsis
| Prop | Default | Required |
|---|---|---|
| — | No declared user props | — |
Template signatures declare names and defaults, not static types. Values must satisfy the underlying primitive or service. Defaults preserve the exact source expression; the definition below shows how inputs are used. Use literal strings or bind-* for evaluated values. Unknown inputs and missing required props fail validation.
Events
No directly emitted output events.
Slots
No content outlets.
Definition and forwarded payloads
<Component name="BreadcrumbEllipsis" xmlns:ui="urn:relo:registry:relo">
<ui:IconEllipsis class="w-4 h-4" />
</Component>
Read BreadcrumbEllipsis source.
ui:BreadcrumbItem
| Prop | Default | Required |
|---|---|---|
| — | No declared user props | — |
Template signatures declare names and defaults, not static types. Values must satisfy the underlying primitive or service. Defaults preserve the exact source expression; the definition below shows how inputs are used. Use literal strings or bind-* for evaluated values. Unknown inputs and missing required props fail validation.
Events
No directly emitted output events.
Slots
- — caller children.
Definition and forwarded payloads
<Component name="BreadcrumbItem">
<Row class="items-center gap-1">
<Slot />
</Row>
</Component>
ui:BreadcrumbLink
| Prop | Default | Required |
|---|---|---|
'' | No | |
'default' | No | |
'default' | No | |
true | No |
Template signatures declare names and defaults, not static types. Values must satisfy the underlying primitive or service. Defaults preserve the exact source expression; the definition below shows how inputs are used. Use literal strings or bind-* for evaluated values. Unknown inputs and missing required props fail validation.
Mapped size choices: default, icon, iconLg, iconSm, iconXs, lg, sm, xs.
Mapped variant choices: default, destructive, ghost, link, outline, secondary.
Events
- — explicitly emitted output; inspect the definition for payload shape.
Slots
- — caller children.
Definition and forwarded payloads
<Component name="BreadcrumbLink" props="label='', variant='default', size='default', enabled=true">
<Pressable bind-label="props.label" bind-enabled="props.enabled" role="link" bind-class="'transition spring-fast ' + ({default: 'rc-button-default', secondary: 'rc-button-secondary', outline: 'rc-button-outline', ghost: 'rc-button-ghost', destructive: 'rc-button-destructive', link: 'rc-button-link'}[props.variant] + ' ' + {default: 'h-8 px-2.5', xs: 'h-6 px-2', sm: 'h-7 px-2.5', lg: 'h-9 px-2.5', icon: 'w-8 h-8 p-2', iconXs: 'w-6 h-6 p-1', iconSm: 'w-7 h-7 p-1.5', iconLg: 'w-9 h-9 p-2'}[props.size])" on-press="emit press with event">
<Row class="h-full flex-1 items-center justify-center gap-2">
<Slot>
<Text bind-text="props.label" class="font-rc-small font-medium" />
</Slot>
</Row>
</Pressable>
</Component>
ui:BreadcrumbList
| Prop | Default | Required |
|---|---|---|
| — | No declared user props | — |
Template signatures declare names and defaults, not static types. Values must satisfy the underlying primitive or service. Defaults preserve the exact source expression; the definition below shows how inputs are used. Use literal strings or bind-* for evaluated values. Unknown inputs and missing required props fail validation.
Events
No directly emitted output events.
Slots
- — caller children.
Definition and forwarded payloads
<Component name="BreadcrumbList">
<Row class="items-center gap-1">
<Slot />
</Row>
</Component>
ui:BreadcrumbPage
| Prop | Default | Required |
|---|---|---|
'' | No |
Template signatures declare names and defaults, not static types. Values must satisfy the underlying primitive or service. Defaults preserve the exact source expression; the definition below shows how inputs are used. Use literal strings or bind-* for evaluated values. Unknown inputs and missing required props fail validation.
Events
No directly emitted output events.
Slots
No content outlets.
Definition and forwarded payloads
<Component name="BreadcrumbPage" props="text=''">
<Text bind-text="props.text" class="font-rc-small font-medium" />
</Component>
ui:BreadcrumbSeparator
| Prop | Default | Required |
|---|---|---|
| — | No declared user props | — |
Template signatures declare names and defaults, not static types. Values must satisfy the underlying primitive or service. Defaults preserve the exact source expression; the definition below shows how inputs are used. Use literal strings or bind-* for evaluated values. Unknown inputs and missing required props fail validation.
Events
No directly emitted output events.
Slots
No content outlets.
Definition and forwarded payloads
<Component name="BreadcrumbSeparator" xmlns:ui="urn:relo:registry:relo">
<ui:IconChevronRight class="w-4 h-4" />
</Component>
Read BreadcrumbSeparator source.
Composition and accessibility
Use explicit value/change ownership; events do not bubble automatically. A component forwards only outputs declared by its own emits. Slots retain caller scope. Supply meaningful labels for interactive controls, preserve focus and touch targets, and test reduced motion on each platform.
Component customization · Definitions and slots · Components index