Beta

Tabs

A set of layered sections with the same height of content—known as tab panels—that are displayed one at a time.

Make changes to your account here. Click save when you're done.

Change your password here. After saving, you'll be logged out.

Installation

Props

Tabs

PropTypeDefault
children
React.ReactNode
-
className?
string
-
defaultValue?
string
-
onValueChange?
(value: string) => void
-
value?
string
-

TabsList

PropTypeDefault
activeClassName?
string
-
children
React.ReactNode
-
className?
string
-
transition?
Transition
{ type: "spring", bounce: 0, stiffness: 200, damping: 25 }

TabsTrigger

PropTypeDefault
children
React.ReactNode
-
className?
string
-
value
string
-

TabsContents

PropTypeDefault
children
React.ReactNode
-
className?
string
-
transition?
Transition
{ duration: 0.4, ease: "easeInOut" }

TabsContent

PropTypeDefault
children
React.ReactNode
-
className?
string
-
value
string
-

On this page