ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ β π shadcn/directory/imskyleen/animate-ui/primitives/animate/tabs β ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
<Tabs>
<TabsHighlight>
<TabsList>
<TabsHighlightItem value="account">
<TabsTrigger value="account">Account</TabsTrigger>
</TabsHighlightItem>
<TabsHighlightItem value="password">
<TabsTrigger value="password">Password</TabsTrigger>
</TabsHighlightItem>
</TabsList>
</TabsHighlight>
<TabContents>
<TabsContent value="account">
Make changes to your account here.
</TabsContent>
<TabsContent value="password">Change your password here.</TabsContent>
</TabContents>
</Tabs>
<Tabs>
<TabsList>
<TabsTrigger value="account">Account</TabsTrigger>
<TabsTrigger value="password">Password</TabsTrigger>
</TabsList>
<TabContents>
<TabsContent value="account">
Make changes to your account here.
</TabsContent>
<TabsContent value="password">Change your password here.</TabsContent>
</TabContents>
</Tabs>
<TypeTable type={{ defaultValue: { description: 'The default value of the Tabs component.', type: 'string', required: false, }, value: { description: 'The value of the Tabs component.', type: 'string', required: false, }, onValueChange: { description: 'The callback function that is called when the value changes.', type: '(value: string) => void', required: false, }, '...props': { description: 'The props of the Tabs component.', type: 'React.ComponentProps<"div">', required: false, }, }} />
<ExternalLink href="https://animate-ui.com/docs/primitives/effects/highlight#highlight" text="Animate UI API Reference - Highlight" />
<TypeTable type={{ transition: { description: 'The transition of the TabsHighlight component.', type: 'Transition', required: false, default: '{ type: "spring", stiffness: 200, damping: 25 }', }, }} />
<ExternalLink href="https://animate-ui.com/docs/primitives/effects/highlight#highlightitem" text="Animate UI API Reference - HighlightItem" />
<TypeTable type={{ '...props': { description: 'The props of the TabsList component.', type: 'React.ComponentProps<"div">', required: false, }, }} />
<TypeTable type={{ value: { description: 'The value of the TabsTrigger component.', type: 'string', required: true, }, asChild: { description: 'Change the default rendered element for the one passed as a child, merging their props and behavior.', type: 'boolean', required: false, default: 'false', }, '...props': { description: 'The props of the TabsTrigger component.', type: 'HTMLMotionProps<"button">', required: false, }, }} />
<TypeTable type={{ transition: { description: 'The transition of the TabsContents component.', type: 'Transition', required: false, default: '{ type: "spring", stiffness: 300, damping: 32, bounce: 0, restDelta: 0.01 }', }, '...props': { description: 'The props of the TabsContents component.', type: 'React.ComponentProps<"div">', required: false, }, }} />
<TypeTable type={{ value: { description: 'The value of the TabsContent component.', type: 'string', required: true, }, asChild: { description: 'Change the default rendered element for the one passed as a child, merging their props and behavior.', type: 'boolean', required: false, default: 'false', }, '...props': { description: 'The props of the TabsContent component.', type: 'HTMLMotionProps<"div">', required: false, }, }} />
β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β β
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ