Fast, unstyled command menu (⌘K) React component that doubles as an accessible combobox
open sourceMITfree
cmdk (⌘K) is a fast, unstyled command menu component for React that can also be used as an accessible combobox. You render items and it filters and sorts them automatically, with a composable API of Command, Command.Input, Command.List, Command.Group, Command.Item, Command.Empty and Command.Separator, and it can open in a dialog. It installs with npm install cmdk and is MIT licensed. It's no longer actively maintained: the last commit was in October 2025, with no maintainer activity on issues or discussions since.
Problems it solves
- I want a ⌘K command palette in my React app
- I need an accessible, unstyled combobox component for React
- I want searchable quick actions like Linear's command menu
Features
- Command menu with automatic filtering and sorting
- Accessible combobox
- Composable Command.* components
- Unstyled, so you style it yourself
- Dialog mode
