Component libraryTabs
Components/Navigation

Tabs

Pro

Switch between connected panels with an animated underline.

npx shadcn@latest add @tidal-pro/tabs
Desktop viewport

Installation

Pro source is gated. Configure the @tidal-pro registry using the agent guide. Create an access key from your account after purchasing.

Terminal
npx shadcn@latest add @tidal-pro/tabs

Import components/ui/tidal.css, components/ui/tabs.css, then add the component inside a tidal-scope wrapper. Its scoped design tokens keep it independent of your existing CSS.

Usage

Complete example source · Dependency and asset manifest

Loading the complete example…

API & behavior

Controlled label, items ({value,label,content:ReactNode,Lucide icon?,count?,disabled?}[]), value, onValueChange. Optional activationMode automatic|manual, animateHeight (default true; disable for externally constrained/overflowing content) and className. Shared indicator follows selection and responsive widths; natural panel heights interpolate. Unique nonempty values, select an enabled item. Radix horizontal arrows/Home/End, disabled skipping, connected tab/panel semantics. Manual mode activates on Enter/Space. Inactive content unmounts, so lift any persistent form state above tabs.

Style with the --t-* CSS variables. Set data-theme="dark" on your tidal-scope wrapper for a dark surface. Motion respects the system’s reduced-motion preference.

Building with an agent?Give it the installation guide and component catalog.