Appearance
Command
Primitive command palette cmdk.
ts
import { Command, CommandInput, CommandList, CommandItem } from "@minap/ui";Examples
Mẫu sống trong Preview; chọn View code khi cần copy.
Usage
tsx
export function Example() {
return (
<>
<div className="flex w-full flex-col gap-2">
<p className="text-sm text-muted-foreground">Command palette composition · Catalog → Overlays.</p>
<EmbedDeepLink href="/catalog/overlays">Open overlays gallery</EmbedDeepLink>
</div>
</>
);
}Props / API
| Prop / API | Type | Default | Notes |
|---|---|---|---|
value / onValueChange | string | — | Giá trị filter |
CommandItem value | string | — |
Behavior
- CommandDialog / CommandEmpty / CommandGroup