Components
Tabs
Components
Tabs
A set of layered sections of content—known as tab panels—that are displayed one at a time.
Usage
import { Tabs, TabsContent, TabsList, TabsTrigger } from "@trytoolify/ui/tabs";
<Tabs defaultValue="account" className="w-[400px]">
<TabsList>
<TabsTrigger value="account">Tab 1</TabsTrigger>
<TabsTrigger value="password">Tab 2</TabsTrigger>
</TabsList>
<TabsContent value="account">Tab 1 content.</TabsContent>
<TabsContent value="password">Tab 2 content.</TabsContent>
</Tabs>
On this page