1.7 KiB
1.7 KiB
<script setup>
import FlowbiteThemableTabsPillsExample from './examples/tabs/FlowbiteThemableTabsPillsExample.vue';
import FlowbiteThemableTabsUnderlineExample from './examples/tabs/FlowbiteThemableTabsUnderlineExample.vue';
import FlowbiteThemableTabsDefaultExample from './examples/tabs/FlowbiteThemableTabsDefaultExample.vue';
</script>
Flowbite Themable
You can use this wrapper for styling components with no color prop(like tabs, dropdown etc.)
Tabs
<script setup>
import {Tabs, Tab, FlowbiteThemable} from 'flowbite-vue'
const theme = 'blue' // 'blue', 'green', 'red', 'pink', 'purple'
const variant = 'default' // see tabs docs
</script>
<template>
<flowbite-themable :theme="theme" theme="blue">
<tabs :variant="variant" class="p-5">
...
</tabs>
</flowbite-themable>
</template>