Account tab content is here
import { Tabs, TabsList, TabsTrigger, TabsContent } from "@styple/design-system";
<Flex
>
<Tabs defaultValue="tab1">
<TabsList>
<TabsTrigger value="tab1">Account</TabsTrigger>
<TabsTrigger value="tab2">Settings</TabsTrigger>
</TabsList>
<TabsContent value="tab1">
<Text>Account tab content is here</Text>
</TabsContent>
<TabsContent value="tab2">
<Text>Settings tab content is here</Text>
</TabsContent>
</Tabs>
</Flex>
See Radix-UI Tabs (v0.1.5) for details. This only covers styple abstractions.
A styled component wrapper for Tabs.Root
.
A styled component wrapper for Tabs.List
.
A styled component wrapper for Tabs.Trigger
.
A styled component wrapper for Tabs.Content
.