Tabs Example

Make changes to your account here.

How to use this card

Props

NameTypeDefaultDescription
asChildbooleanfalseChange the default rendered element for the one passed as a child, merging their props and behavior.
defaultValuestring-The default value on where the current tab is selected.
valuestring-The current value of the selected tab.

Playground

Import from @filigran/ui :

Import {Card, CardHeader, CardTitle, CardDescription, CardContent, CardFooter} from '@filigran/ui'


        <Tabs defaultValue="account" className="w-[400px]">
<TabsList>
  <TabsTrigger value="account">Account</TabsTrigger>
  <TabsTrigger value="password">Password</TabsTrigger>
</TabsList>
<TabsContent value="account">Make changes to your account here.</TabsContent>
<TabsContent value="password">Change your password here.</TabsContent>
</Tabs>