Skip to main content
Version: Next

TabView

Tabs organize content across different screens, data sets, and other interactions.

TabView enables swipeable tabs.

Components#

Usage#


Props#

TabView#

TabView.Item#

None

Reference#

TabView#

animationConfig#

Define the animation configurations.

TypeDefault
Omit<SpringAnimationConfig and TimingAnimationConfig, "toValue">{}

animationType#

Choose the animation type among spring and timing. This is visible when there is tab change.

TypeDefault
"timing" or "spring"spring

onChange#

On Index Change Callback.

TypeDefault
(value: number) => anyNone

value#

Child position index value.

TypeDefault
number0

TabView.Item#

None