mirror of
https://git.hmsn.ink/kospo/svcm/oa.git
synced 2026-03-20 08:13:40 +09:00
1.2 KiB
1.2 KiB
breadcrumb
| breadcrumb | |||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
Default Separator
Vuero provides a <VBreadcrumb /> component.
Default breadcrumb items are separated by a slash sign.
To show icons, use the with-icons prop. You can also change the alignment
by using the align prop (possible values are center and right).
Pass an Array to the items prop to render the component.
See markup for more details about usage.
<script setup lang="ts">
const breadcrumb = [
{
label: 'Vuero',
hideLabel: true,
icon: 'lucide:home',
// use external links
link: 'https://vuero.cssninja.io/',
},
{
label: 'Components',
icon: 'lucide:cpu',
// or generate a router link with 'to' props
to: '/components/',
},
{
label: 'VBreadcrumb',
},
]
</script>
<template>
<VBreadcrumb :items="breadcrumb" />
<VBreadcrumb :items="breadcrumb" with-icons />
</template>