Files
oa/documentation/breadcrumb/breadcrumb-default-documentation.md
2025-05-24 01:49:48 +09:00

1.2 KiB

breadcrumb
breadcrumb
label hideLabel icon link
Vuero true lucide:home https://vuero.cssninja.io/
label icon to
Components lucide:cpu
name
/components/
label
VBreadcrumb

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>