Slash Command Palette
- from @localmode
- by LocalMode
A '/'-triggered command palette over a local tool/command list — name, category, description, and icon — to layer onto a PromptInput Tools slot. Purely presentational; the consumer opens it (e.g. when the composer starts with '/') and supplies the query. Built on the shadcn/ui Command (cmdk) primitive.
Install
New to shadcn? Set up your project
If your project already has a shadcn components.json, skip initialization. Otherwise, run this once from your project root.
pnpm dlx shadcn@latest initpnpm dlx shadcn@latest add @localmode/ui/input-controls/slash-command-paletteLive preview
No live preview has been built for this component yet.
Registry dependencies2
- @localmode/ui/lib/utils
- command
