HQ UI

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

In the terminal, run the following command to begin:
npx hq-kit add command

Basic

Collection and Section

Trigger by Keyboard

Danger

Controlled

Use it like a Menu or ListBox.

Asycn Loading

Action on Select

<Command.Item onAction={() => console.log('Hello World!')} />