Skip to content
ABCrimson edited this page Mar 11, 2026 · 4 revisions

modern-cmdk Wiki

Welcome to the modern-cmdk wiki — the definitive command palette engine for the modern web. v1.1.0 — 14/15 benchmarks faster than cmdk, 11 exclusive features, 416 tests passing.


Quick Navigation

Getting Started

Core Concepts

  • Architecture — Three-layer design, state machine, plugin system
  • State Machine — Events, state transitions, subscriber pattern
  • Search Engine — Fuzzy scoring, incremental filtering, pluggable interface
  • Frecency — Frequency x recency ranking with Temporal decay
  • Keyboard Shortcuts — Registry, parser, conflict detection
  • Telemetry — Pluggable telemetry middleware for analytics

React 19 Adapter

Advanced

Recipes

API Reference

  • Core API — createCommandMachine, createSearchEngine, FrecencyEngine
  • React API — All 14 compound components, hooks, and error boundary
  • WASM API — createWasmSearchEngine, createWorkerWasmSearchEngine
  • Codemod API — CLI usage and transform details

Tooling

Contributing


Stack: TypeScript 6.0.1-rc | React 19.3.0-canary | ES2026 | Node.js 25.8.0 | Radix UI | Vitest | Playwright | Biome

Clone this wiki locally