ComponentsCommand
Command
A keyboard-friendly command palette with filtering, shortcuts, and selection callbacks.
Installation
bunx @swift-rust/ui add command
Usage
tsx
1import { Command } from "@/components/ui/command";23<Command4items={[5{ id: "docs", label: "Open docs", shortcut: "⌘D" },6{ id: "theme", label: "Toggle theme" },7]}8onSelect={(item) => console.log(item.id)}9/>