TidalUI

Feature tabs preview

Explain connected product capabilities through one controlled, non-rotating tabbed scene.

pro · Marketing · composite

When to use

Alternatives

Configure components.json and the @tidal-pro namespace before installing Pro components.

Installation

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

Import components/ui/tidal.css, components/ui/feature-tabs.css. Wrap installed components in tidal-scope.

Preview

Feature tabs component preview

Open interactive preview

Minimal example

import"./components/ui/tidal.css";
import"./components/ui/feature-tabs.css";
import{TidalFeatureTabs}from"./components/ui/feature-tabs";
export default()=><div className="tidal-scope"><TidalFeatureTabs items={[{id:"example",label:"Demo",title:"Demo",description:"Demo",visual:"value",visualLabel:"Demo"}]} onValueChange={() => {}} title={"Demo"} value={"value"}/></div>;

API and props

TidalFeatureTabs.items (required)
ReadonlyArray<TidalFeatureTab>

Required items value accepted by this exported component.

TidalFeatureTabs.onValueChange (required)
(value: string) => void

Callback invoked when the value change interaction is proposed.

TidalFeatureTabs.title (required)
ReactNode

Required title value accepted by this exported component.

TidalFeatureTabs.value (required)
string

Required value value accepted by this exported component.

TidalFeatureTabs.activationMode
"manual" | "automatic" | undefined

Optional activation mode value accepted by this exported component.

TidalFeatureTabs.description
ReactNode

Optional description value accepted by this exported component.

TidalFeatureTabs.headingLevel
"h2" | "h3" | "h4" | "h5" | undefined

Optional heading level value accepted by this exported component.

TidalFeatureTabs.label
string | undefined

Optional label value accepted by this exported component.

TidalFeatureTabs.labels
Partial<{ tabs: string; unavailable: string; invalid: string; }> | undefined

Optional labels value accepted by this exported component.

TidalFeatureTabs.preservePanels
boolean | undefined

Keep inactive panels mounted so consumer-owned local state survives tab changes.

Complete usage

Full example, stylesheet imports, API and accessibility documentation

Gotchas