New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

cmdk-base

Package Overview
Dependencies
Maintainers
1
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cmdk-base

Fast, unstyled command menu React component.

latest
Source
npmnpm
Version
1.0.0
Version published
Weekly downloads
6.8K
-37.87%
Maintainers
1
Weekly downloads
 
Created
Source

⌘K Base

npm version npm downloads license

⌘K Base is a Fast, composable, unstyled command menu for React.

This is a port of ⌘K using Base UI's Dialog internally. It was originally created by Paco Coursey.

Usage

To start using ⌘K Base, install it in your project:

npm install cmdk-base

Use the Command in your application:

import { Command } from "cmdk-base"

function CommandMenu() {
  return (
    <Command label="Command Menu">
      <Command.Input />
      <Command.List>
        <Command.Empty>No results found.</Command.Empty>

        <Command.Group heading="Letters">
          <Command.Item>a</Command.Item>
          <Command.Item>b</Command.Item>
          <Command.Separator />
          <Command.Item>c</Command.Item>
        </Command.Group>

        <Command.Item>Apple</Command.Item>
      </Command.List>
    </Command>
  )
}

Documentation

You can use original ⌘K documentation for more information.

Keywords

react

FAQs

Package last updated on 17 Dec 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts