diff --git a/docs/content/5.navigation/5.breadcrumb.md b/docs/content/5.navigation/5.breadcrumb.md index ae6d8aba68..f4a00f7d95 100644 --- a/docs/content/5.navigation/5.breadcrumb.md +++ b/docs/content/5.navigation/5.breadcrumb.md @@ -8,8 +8,9 @@ description: A list of links that indicate the current page's location within a Pass an array to the `links` prop of the Breadcrumb component. Each link can have the following properties: - `label` - The label of the link. +- `labelClass` - The class of the link label. :u-badge{label="New" class="!rounded-full" variant="subtle"} - `icon` - The icon of the link. -- `iconClass` - The class of the icon link. +- `iconClass` - The class of the link icon. You can also pass any property from the [NuxtLink](https://nuxt.com/docs/api/components/nuxt-link#props) component such as `to`, `exact`, etc. diff --git a/src/runtime/components/navigation/Breadcrumb.vue b/src/runtime/components/navigation/Breadcrumb.vue index a278aaa24d..3ddb4d299f 100644 --- a/src/runtime/components/navigation/Breadcrumb.vue +++ b/src/runtime/components/navigation/Breadcrumb.vue @@ -5,19 +5,19 @@ - {{ link.label }} + {{ link.label }} @@ -35,6 +35,7 @@