Tabs

Tabbed content panels with keyboard-accessible tab triggers. Install Tabs from the VLLNT UI registry with the shadcn CLI. React Native source for Tabs is included in VLLNT UI 0.4.0 for iOS and Android. It is source-only; npm publication is pending.

Supported platforms:WebNative
Report a bug

Preview

Switch between light and dark to inspect the embedded Storybook preview.

Tabbed content panels with keyboard-accessible tab triggers. Part of the navigation family in VLLNT UI, it ships as a machine-readable registry entry — copy the source directly into your app with the shadcn CLI and own it, no runtime dependency on a component library.

Pick the look of the triggers with the variant prop on Tabs: underline (the default) draws a rule under the list and marks the active tab with a primary underline, pill fills the active trigger with a rounded background, and link is plain text that underlines the active tab. Tabs.List and Tabs.Trigger read the variant from Tabs, so you set it once.

Platform comparison

PlatformDependenciesCapabilities
Web@vllnt/ui@^0.3.0Browser rendering, DOM events, and ARIA semantics
Native@vllnt/ui-native, react-nativeNative-adapted interaction and accessibility

Installation

Add Tabs to your project with the shadcn CLI. The source lands in your codebase, ready to adapt:

# React Native is source-only; copy the React Native source above

Source

Stories

Explore every variant and state in the interactive Storybook: