App-wide Ctrl-K command palette with fuzzy search, grouped results, recents, and keyboard nav
Press Ctrl + K anywhere on this page (or click the button below) to open the command palette. Type to fuzzy-search across labels and keywords. Use ↑↓ to navigate, Tab to jump between groups, Enter to run, Esc to close.
import { commandPalette } from 'jatui'
// Register commands (can call multiple times per group)
commandPalette.registerCommands('Navigation', [
{
id: 'nav-home',
label: 'Go to Home',
icon: '🏠',
keywords: ['home', 'dashboard'],
shortcut: ['G', 'H'],
action: () => router.push('/')
}
])
// Open / close programmatically
commandPalette.openPalette()
commandPalette.closePalette()