Command menu preview
Search actions and navigate with the keyboard.
pro · Navigation · composite
When to use
- Use it when a page needs search actions and navigate with the keyboard.
- 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 command menu.
Configure components.json and the @tidal-pro namespace before installing Pro components.
Installation
npx shadcn@latest add @tidal-pro/command-menuImport components/ui/tidal.css, components/ui/command-menu.css. Wrap installed components in tidal-scope.
Preview

Minimal example
import"./components/ui/tidal.css";
import"./components/ui/command-menu.css";
import{TidalCommandMenu}from"./components/ui/command-menu";
export default()=><div className="tidal-scope"><TidalCommandMenu actions={[{id:"example",label:"Demo",onSelect:() => {}}]}/></div>;API and props
TidalCommandMenu.actions (required)Array<CommandAction>Required actions value accepted by this exported component.
TidalCommandMenu.classNamestring | undefinedOptional class name value accepted by this exported component.
TidalCommandMenu.labelstring | undefinedOptional label value accepted by this exported component.
TidalCommandMenu.onAction((id: string) => void) | undefinedCallback invoked when the action interaction is proposed.
TidalCommandMenu.placeholderstring | undefinedOptional placeholder 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.