Park UI

Tabs

A component for organizing content into switchable panels.

Know React? Check out Solid!

Installation

Usage

Examples

Use the size prop to change the size of the tabs.

Variants

Use the variant prop to change the appearance of the tabs.

Orientation

Use the orientation prop to change the orientation of the tabs.

Lazy Loading

Optimize performance by using the lazyMount and unmountOnExit props to conditionally render tab content.

Tab 1: Content 0

Fitted

Use the fitted prop to make the tabs fit the width of the container.

Props

Root

TabContent

TabTrigger