Component libraryFeature tabs
Feature tabs
ProExplain connected product capabilities through one controlled, non-rotating tabbed scene.
npx shadcn@latest add @tidal-pro/feature-tabsInstallation
Pro source is gated. Configure the @tidal-pro registry using the agent guide. Create an access key from your account after purchasing.
Terminal
Import components/ui/tidal.css, components/ui/feature-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
Consumer-owned items require unique nonblank IDs, labels, visual labels, titles, descriptions and visual content. Controlled value/onValueChange selects one enabled item; automatic or manual keyboard activation is delegated to Radix Tabs, with no timer or automatic rotation. Optional preservePanels keeps every supplied panel mounted while inactive panels remain hidden, allowing consumer-owned local state to survive selection changes. Each item supports optional eyebrow, detail, disabled state and an explicit native link or button action with separate attributes and direct ref; opposite action channels are excluded and legacy mixed actions fail visibly. Native button handlers run before callback proposals and may prevent them. Disabled buttons use native disabled; disabled links omit href, suppress primary/auxiliary activation and leave the Tab order. The section supports root props/ref, h2-h5 hierarchy, localized tab/unavailable/invalid labels, numeric content, 44px controls, a narrow horizontal tab rail, RTL, forced colors and reduced motion. No routing, request, storage, account operation or product result is bundled. The demo uses local fictional workflow data and one concise sample boundary.
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.