Installation
Usage
Examples
Compact
Sizes
Vertical
Direction
Disabled
Search Params
Pass paramName
to sync the active tab with the URL query params.
This feature is powered by nuqs library.
Height Animation
Use AutoResize
add-on component to animate the height of the TabsContent
Reduce Motion
Animation Presets
Fade
Blur
Motion
Motion Blur
Perspective
Perspective Blur
Scale
Custom Usage
API Reference
Tabs
Prop | Type | Default |
---|---|---|
animation | AnimationProps | ― |
animationPreset | enum | "motion-blur" |
transition | Transition | ― |
transitionPreset | enum TransitionPreset | ― |
reduceMotion | boolean | false |
compact | boolean | false |
paramName | string | ― |
Support all Radix API
TabsList
Support all Radix API
TabsTrigger
Support all Radix API
TabsContent
Support all Radix API