use-command-palette
p/use-command-palette
Headless React hook for cmd palettes zero deps, no Provider
0 reviews4 followers
Start new thread
trending
rahul patwa

22h ago

use-command-palette - Headless React hook for cmd palettes zero deps, no Provider

use-command-palette is a headless React hook that gives you everything you need to build a ⌘K command palette state, keyboard navigation, fuzzy search, ARIA attributes, focus management. Every existing library either ships a styled component you have to override, requires a context Provider at the app root, or both. use-command-palette does neither. It's a single `useCommandPalette()` call that returns prop getters you spread onto your own elements.