cmdk logo

cmdk

component

⌘K is a versatile command menu component designed for React applications. It reimagines the conventional approach to presenting interactive menus by offering a composable API that allows developers to wrap items within other components or JSX seamlessly. The focus on accessibility ensures that it can be utilized as an advanced combobox as well, catering to various user needs.Notably, the component automatically handles the filtering and sorting of items, providing a smooth user experience. By supporting keybindings, such as ⌘K to toggle the menu, it integrates well with fast-paced workflows. The component is styled using data attributes, allowing for easy customization while maintaining a clean, unstyled default look.Incorporating advanced features like nested menu structures, asynchronous loading, and the capability to manage large amounts of items efficiently, it is highly adaptable for a variety of applications, from simple projects to more complex ones like Vercel's command menu. Additionally, it embraces a modern design philosophy, ensuring compatibility with React 18, which enhances performance and reliability.

Features

  • Composable API
  • Accessible combobox functionality
  • Automatic filtering and sorting of items
  • Custom styling through data attributes
  • Support for keyboard shortcuts
  • Ability to handle nested items and groupings
  • Asynchronous item loading
  • Performance optimized for large lists up to 3000 items
  • Unstyled by default for custom styling

Stats

GitHub Stars10.0K

NPM Downloads1.1M/week

Details

Latest Version1.0.4

Created at7/15/2022

Updated at12/6/2024

LicenseMIT License

Related Items

About KickstartUI

KickstartUI is your ultimate destination for discovering the best UI frameworks, libraries, and build tools. We meticulously curate top-notch resources to empower developers in bringing their UI ideas to life. Whether you're building a responsive web app, crafting a mobile interface, or designing an interactive prototype, our platform offers the essential tools to accelerate your projects and enhance user experiences. Explore our extensive collection to stay ahead of the latest trends, unlock new possibilities, and elevate your UI designs. Ready to kickstart your next project? Dive into our featured resources or search for specific tools tailored to your needs.