Full Width Tabs
Examples
<script>
import { FullWidthTabs } from 'flowbite-svelte'
let tabLabel = 'Select a target'
let tabs = [
{
name: "Profile",
active: true,
href: "/#",
rel: undefined,
},
{
name: "Dashboard",
active: false,
href: "/",
},
{
name: "Settings",
active: false,
href: "/",
},
{
name: "Contacts",
active: false,
href: "/",
},
];
</script>
<FullWidthTabs {tabs} {tabLabel}/>
Props
The component has the following props, type, and default values. See types page for type information.
Name | Type | Default |
---|---|---|
tabs | TabType[] | |
tabLabel | string |