Tabs preview
Switch between connected panels with an animated underline.
pro · Navigation · composite
When to use
- Use it when a page needs switch between connected panels with an animated underline.
- Choose it as the nav region when composing a page from independently reusable TidalUI sections.
Alternatives
- Choose navigation-bar instead when responsive saas navigation with native links, actions and an in-flow mobile disclosure is the actual interface need, rather than tabs.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/tabsImport components/ui/tidal.css, components/ui/tabs.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/tabs.css";
import{TidalTabs}from"./components/ui/tabs";
export default()=><div className="tidal-scope"><TidalTabs items={[{value:"value",label:"Demo",content:"value"}]} label={"Demo"} onValueChange={() => {}} value={"value"}/></div>;API and props
TidalTabs.items (required)Array<TidalTab>Required items value accepted by this exported component.
TidalTabs.label (required)stringRequired label value accepted by this exported component.
TidalTabs.onValueChange (required)(value: string) => voidCallback invoked when the value change interaction is proposed.
TidalTabs.value (required)stringRequired value value accepted by this exported component.
TidalTabs.activationMode"manual" | "automatic" | undefinedOptional activation mode value accepted by this exported component.
TidalTabs.animateHeightboolean | undefinedSmooth natural-height panel changes. Disable for externally constrained or overflowing content.
TidalTabs.classNamestring | undefinedOptional class name value accepted by this exported component.
Complete usage
Full example, stylesheet imports, API and accessibility documentation
Gotchas
- Install the declared registry dependencies and render inside a tidal-scope with the foundation stylesheet loaded.