Component libraryRadio cards
Radio cards
ProSelect a workspace type from descriptive cards.
npx shadcn@latest add @tidal-pro/radio-cardsInstallation
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/radio-cards.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, options ({value,label,description?,detail?,Lucide icon?,disabled?}[]), value, onValueChange. Optional name, required, disabled, className. Unique nonempty option values. Radix vertical arrow navigation, looping disabled-skip selection, visible group/item labels and native hidden form inputs. Consumer owns creation/persistence.
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.