Command

A command is like a button with a twist, it opens a menu of options. It's a cooler version of a combobox, ideal for command palettes, menus, and more.

Installation

npx shadcn add https://hq-ui.vercel.app/r/nova/command

Examples

Command Basic

command-demo

Command with Sections

command-section-demo

Command Async Loading

command-async-loading

Command Controlled

command-controlled
{"selected":[1]}

Command Dialog

command-dialog

Command Palette

Search for a command to run...