Command Palette
A command palette where nothing jumps: as you type, rows that stay glide to their new rank, rows that leave fade and collapse, rows that arrive fade in.
$149 once · every Pro piece
Customize
Fuzzy matching by subsequence, one sliding highlight, and a brief lift of the command you run. Opens with ⌘K or Ctrl K.
Install
npx shadcn@latest add @obsyde/command-paletteNeeds your licence key · Get Pro
Usage
Import it from where the CLI puts it, or copy the files below by hand.
import { CommandPalette } from '@/components/obsyde/ember/command-palette/CommandPalette';
export function Example() {
return (
<CommandPalette placeholder="Type a command" hotkey="k" />
);
}
Files
What you get with Pro: plain React, TypeScript and CSS, with no dependencies.
ember/command-palette/CommandPalette.tsxcomponentember/command-palette/command-palette.cssstylesember/command-palette/fuzzy.tsmoduleember/command-palette/CommandPaletteDemo.tsxdemoember/display-kit/highlight.tssharedember/shared/spring.tssharedember/shared/accent.tssharedember/display-kit/display-kit.csssharedember/display-kit/motion.tssharedember/shared/ember.cssshared
API
| Prop | Type | Default |
|---|---|---|
accentAccent | 'ember' | 'volt' | 'arc' | 'ember' |
openOpen | boolean | false |
queryInitial query | string | — |
placeholderPlaceholder | string | 'Type a command' |
hotkeyHotkey (with ⌘ or Ctrl) | string | 'k' |