Components/Command

Command

A composable command primitive for modern product interfaces.

Interactive example

Installation

Run the CLI from your project root. Dependencies and component source are added automatically.

$npx quackelements add command

Usage

The generated file lives in your repository, so the component API and styles remain fully editable.

example.tsx
import { Command, CommandInput, CommandList, CommandItem } from "@/components/quack/command"

<Command><CommandInput placeholder="Search commands" /><CommandList><CommandItem>Open settings</CommandItem></CommandList></Command>