mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 20:19:34 +01:00
17 lines
396 B
Vue
17 lines
396 B
Vue
<script setup>
|
|
const items = [{
|
|
label: 'Tab1',
|
|
content: 'This is the content shown for Tab1'
|
|
}, {
|
|
label: 'Tab2',
|
|
content: 'And, this is the content for Tab2'
|
|
}, {
|
|
label: 'Tab3',
|
|
content: 'Finally, this is the content for Tab3'
|
|
}]
|
|
</script>
|
|
|
|
<template>
|
|
<UTabs :items="items" orientation="vertical" :ui="{ wrapper: 'flex items-center gap-4', list: { width: 'w-48' } }" />
|
|
</template>
|