TabNav

VCC UI TabNav is deprecated

Read the documentation on its replacement, which should be used for any new development.

The TabNav is a wrapper container for building second level tabbed-navigation bars

Example

With Line Transition

Props - TabNav

NameDescriptionTypeDefault Value
aria-labelstring | undefinedn/a
backButtonBack button text, href, click handlerBackButtonConfig | undefinedn/a
durationSet duration of lineTransition animationnumber | undefined160
enableLineTransitionEnable fancy transition when changing active tabsboolean | undefinedfalse
showBackButtonOnWhich viewports to show the back button on("s" | "m" | "l" | null | undefined)[] | undefined['s', 'm', 'l']
stickyChildrenLeftA JSX node sticky to the leftReactNodenull
stickyChildrenRightA JSX node sticky to the rightReactNodenull
textAlignText-align: left or center"center" | "left" | undefinedcenter

undefined

undefined

VCC UI TabNavItem is deprecated

Read the documentation on its replacement, which should be used for any new development.

Navigational items used in the TabNav component

Example

2024 © Volvo Car Corporation