All blocks

Command Palette

Marketing

The ⌘K launcher, hand-built. Focus is captured on open and restored on close, Tab is trapped, and the list is driven by aria-activedescendant so focus never leaves the input. Typing re-ranks commands with a FLIP animation — rows glide to their new positions instead of snapping — and a debounced async 'actions' section runs a simulated remote search with derived loading. Keyboard-first, portaled, and monochrome.

Open

Installation

Terminal
npx shadcn@latest add https://ui.saumyarex.xyz/r/command-palette.json

Installs the block and its component dependencies in one step.