Breadcrumb
Show the current position within a hierarchy.Examples
Installation
Install the package, then import only the components a route uses. Exports are tree-shakable.
Install
pnpm add fractalsvelteImport
<script lang="ts">
import { Breadcrumb } from 'fractalsvelte';
</script>Usage
Usage
<script lang="ts">
import { Breadcrumb } from 'fractalsvelte';
</script>
<Breadcrumb items={items} />Props
| Prop | Type | Default | Description |
|---|---|---|---|
items | Item[] | - | The list of items to render. |
separator | string | '/' | The divider shown between items. |
