vael-ui v0.3.10

Navigation & Menus

Breadcrumb

Install

import { Breadcrumb } from 'vael-ui'

Playground

import { Breadcrumb } from 'vael-ui'

<Breadcrumb ariaLabel="" :wrap="false" :items="items">Breadcrumb</Breadcrumb>

Props

NameTypeDefaultDescription
itemsreadonly T[] | undefinedData-driven alternative to composing `BreadcrumbItem`/`BreadcrumbSeparator` yourself in the default slot. Omit to use the default slot instead — the two are mutually exclusive per instance.
ariaLabelstring | undefinedOverrides the default localized "Breadcrumb" nav landmark label.
wrapboolean | undefinedfalse`false` (default): a single line that scrolls horizontally once it overflows, edge-faded like Dialog/Select. `true`: wraps onto multiple lines instead.
uiPartial<{ root: UiPartValue; list: UiPartValue; }> | undefined

Slots

NameTypeDescription
defaultany`BreadcrumbItem` and `BreadcrumbSeparator` children, interleaved by the caller. Ignored when `items` is set.
item{ item: T; index: number; }Overrides one crumb's label content when using `items`. Falls back to plain text.

Events

No events.

Exposed

NameTypeDescription
elunknownType inference unavailable — vue-component-meta cannot resolve defineExpose on this generic component.