Tabs

v1.2.0

A tabbed interface for organizing content.

Line Variant

A thin underline highlights the active tab.

Overview content goes here.

Pill Variant

Filled pill shape highlights the active tab.

Pill tab overview panel.

Segmented Variant

Compact segmented style for toolbar filtering.

Daily breakdown of events and tasks.

Small Variant

Minimal flat style for sidebar navigation.

Showing all items in the workspace.

Glass Variant

Frosted glass style with backdrop blur.

Glass style overview content.

Tabs with Icons

Add icons to tab labels for visual clarity.

Manage your account details, email, and security preferences.

Controlled Tabs

Control the active tab from parent state.

Active project list with status indicators.

Active tab: “tab1

Disabled Tabs

Disable individual tabs to prevent selection.

General configuration options.

API Reference

All available props for this component.

Property
Type
Default
Description
variant'line' | 'pill' | 'segmented' | 'small' | 'glass''line'Controls the tab track and trigger visual style.
itemsTabItem[]requiredArray of tab definitions with id, label, content, and optional disabled flag.
defaultActiveIdstringfirst item's idUncontrolled initial active tab ID on first render.
activeIdstringundefinedControlled active tab ID for external state management.
onValueChange(id: string) => voidundefinedCallback triggered when the active tab changes.
classNamestringundefinedAdditional CSS class names for the root wrapper.
© 2026 Venti UI Labs. UI made right.