Skip to content
aq-ui
Back to ComponentsComponent

Command

Open-code aq-ui accessible component family for Command.

Preview

This is a live example. Interact with the available controls and use the keyboard to inspect the component's states and behavior.

Loading interactive preview…

Installation

pnpm dlx aq-ui@alpha add command

API reference

Client moduleView full source

Quick start

"use client"

import { Command } from "@/components/ui/command"

<Command />

Exports

  • Command const
  • CommandDialog const
  • CommandEmpty const
  • CommandGroup const
  • CommandInput const
  • CommandItem const
  • CommandList const
  • CommandSeparator const
  • CommandShortcut const

Registry dependencies

dialog, input-group, utils

Package dependencies

cmdk@^1.1.1, lucide-react@^1.31.0

Files

  • components/ui/command.tsx

Source