Component packs › Seek › Command Palette
Opens on ⌘K with a short drop; results ink in exactly the letters that matched, the highlight glides between rows, and › commands slide in a second page.
Command Palette is a command menu from Seek, a component pack with 8 components: Search and command palette components that show exactly what matched. Price: free.
Built with: fuzzy ranges, nested pages, combobox.
Code: React and Next.js (TypeScript), Vue 3, plain HTML/CSS/JS, Tailwind CSS v4 and Motion (motion.dev). No npm packages needed. Keyboard accessible, with a reduced-motion version, in dark and light.
Install with the shadcn CLI: npx shadcn@latest add https://motionmart.store/r/command-palette.json
| Prop | Type | Default | Description |
|---|---|---|---|
commands | PaletteCommand[] | ||
open | boolean | ||
onRun | (cmd: PaletteCommand) => void | ||
theme | 'dark' | 'light' | ||
autoplay | boolean | Showcase mode: opens, types and runs commands until touched. |
toggle(v?: boolean): voiddestroy(): voidimport CommandPalette from './CommandPalette';
<CommandPalette />The Vue, HTML, Next.js, Tailwind and Motion versions take the same options.
Good for: Search and command palette.