Skip to content

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 / APITypeDefaultNotes
value / onValueChangestring—Giá trị filter
CommandItem valuestring—

Behavior ​

  • CommandDialog / CommandEmpty / CommandGroup

MINAP UI — Soft Periwinkle light, Mobile-First