Component libraryCommand menu
Command menu
ProSearch actions and navigate with the keyboard.
npx shadcn@latest add @tidal-pro/command-menuInstallation
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/command-menu.css, components/ui/keyboard-key.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
actions: unique id, label, group?, keywords?, icon?, shortcut?, disabled?, onSelect. Optional label, placeholder, className, onAction. Inline cmdk menu with ArrowUp/Down, Enter and looping focus. Shortcut labels are hints, not registered handlers. Wrap in a dialog for global use.
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.