feat(Breadcrumb): new component

Resolves #22
This commit is contained in:
Benjamin Canac
2024-04-16 17:23:41 +02:00
parent 298ac68447
commit 53a2bc0264
8 changed files with 237 additions and 0 deletions

View File

@@ -14,6 +14,7 @@ const components = [
'alert',
'avatar',
'badge',
'breadcrumb',
'button',
'card',
'checkbox',

View File

@@ -0,0 +1,20 @@
<script setup lang="ts">
const links = [{
label: 'Home',
avatar: {
src: 'https://avatars.githubusercontent.com/u/739984?v=4'
},
to: '/'
}, {
label: 'Navigation',
icon: 'i-heroicons-square-3-stack-3d',
disabled: true
}, {
label: 'Breadcrumb',
icon: 'i-heroicons-link'
}]
</script>
<template>
<UBreadcrumb :links="links" />
</template>