first commit
This commit is contained in:
49
resources/js/views/demos/components/tabs/DemoTabsStacked.vue
Normal file
49
resources/js/views/demos/components/tabs/DemoTabsStacked.vue
Normal file
@@ -0,0 +1,49 @@
|
||||
<script setup>
|
||||
const currentTab = ref('tab-1')
|
||||
const tabItemText = 'Biscuit cheesecake gingerbread oat cake tiramisu. Marzipan tiramisu jelly-o muffin biscuit jelly cake pie. Chocolate cookie candy croissant brownie cupcake powder cheesecake. Biscuit sesame snaps biscuit topping tiramisu croissant.'
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<VTabs
|
||||
v-model="currentTab"
|
||||
grow
|
||||
stacked
|
||||
>
|
||||
<VTab value="tab-1">
|
||||
<VIcon
|
||||
icon="ri-phone-line"
|
||||
class="mb-2"
|
||||
/>
|
||||
<span>Recent</span>
|
||||
</VTab>
|
||||
|
||||
<VTab value="tab-2">
|
||||
<VIcon
|
||||
icon="ri-heart-line"
|
||||
class="mb-2"
|
||||
/>
|
||||
<span>Favorites</span>
|
||||
</VTab>
|
||||
|
||||
<VTab value="tab-3">
|
||||
<VIcon
|
||||
icon="ri-account-box-line"
|
||||
class="mb-2"
|
||||
/>
|
||||
<span>Nearby</span>
|
||||
</VTab>
|
||||
</VTabs>
|
||||
|
||||
<VWindow
|
||||
v-model="currentTab"
|
||||
class="mt-5"
|
||||
>
|
||||
<VWindowItem
|
||||
v-for="i in 3"
|
||||
:key="i"
|
||||
:value="`tab-${i}`"
|
||||
>
|
||||
{{ tabItemText }}
|
||||
</VWindowItem>
|
||||
</VWindow>
|
||||
</template>
|
Reference in New Issue
Block a user