Fil d'Ariane indiquant la position de l'utilisateur dans la hiérarchie de navigation.
<x-ws::breadcrumb :items="[
['label' => 'Accueil', 'href' => '/'],
['label' => 'Produits', 'href' => '/products'],
['label' => 'iPhone 15'],
]" />
| Prop | Type | Défaut | Description |
|---|---|---|---|
items |
array |
[] |
Tableau d'items : {label, href?, icon?} |
separator |
string |
/ |
Séparateur entre les items |
<x-ws::breadcrumb :items="[
['label' => 'Accueil', 'href' => '/', 'icon' => 'home'],
['label' => 'Dashboard', 'href' => '/dashboard'],
['label' => 'Rapport mensuel'],
]" />
<x-ws::breadcrumb separator="/" :items="[...]" />
<x-ws::breadcrumb separator=">" :items="[...]" />