Pill Tabs
Examples
<script>
import { PillTabs } from "flowbite-svelte";
let tabs = [
{
name: "Profile",
selected: true,
href: "/profile",
},
{
name: "Dashboard",
selected: false,
href: "/dashboard",
},
{
name: "Settings",
selected: false,
href: "/settings",
},
{
name: "Contact",
selected: false,
href: "/contact",
},
];
</script>
<PillTabs {tabs} />
Props
The component has the following props, type, and default values. See types page for type information.
Name | Type | Default |
---|---|---|
tabs | PillTabType[] |