Breadcrumb
A breadcrumb displays the current location within a hierarchy. It allows going back to states higher up in the hierarchy.
Examples
Basic
With Icons
Configuring the Separator
The separator can be changed using the separator
prop on the Breadcrumb
component. Either a string or a Svelte component (for example - an icon component) can be passed.
Using Multiple Separators
The separator can be changed using the separator
prop on the Breadcrumb
component. Either a string or a Svelte component (for example - an icon component) can be passed.
API
Breadcrumb Attributes
Property | Description | Type | Default |
---|---|---|---|
separator | Sets the separator used for the component | String or Svelte component | / |
BreadcrumbItem Attributes
Property | Description | Type | Default |
---|---|---|---|
href | If set, the item will be wrapper in a link | String | |
separator | Sets the individual separator for the item | String or Svelte component | / |