Command palette
Jumps to any record or runs any command from one search field, opened from anywhere with Command K or Control K.
Examples
Nothing opened yet.
Nobody opened yet.
Your stays
- Harbour loftLisbon
- Pine cabinBergen
- Garden flatPorto
- Canal studioAmsterdam
Usage
Use it when
- A research or admin tool where people jump to a known record by name, from any page.
- A keyboard-first tool with commands worth reaching without the pointer.
Use something else when
- Picking a value in a form. Use Combobox instead.
- Filtering the list on the page. Use InputGroup instead, as a search box over the list.
- A few commands for one thing. Use DropdownMenu instead.
Rules
General
Content
Avoid
Limits
Install
npx shadcn@latest add https://kaanarici.com/r/cobalt/command-palette.jsonimport { CommandPalette, CommandPaletteTrigger, CommandPaletteContent, CommandPaletteInput, CommandPaletteList, CommandPaletteGroup, CommandPaletteGroupLabel, CommandPaletteCollection, CommandPaletteItem, CommandPaletteItemDescription, CommandPaletteItemHint, CommandPaletteMatch, CommandPaletteEmpty, CommandPaletteStatus, CommandPaletteFooter, CommandPaletteShortcutHint } from "@/components/cobalt/ui/command-palette"