Command

A fast, filterable command menu — inline or as a ⌘K palette.

Built on Radix UI
$ pnpm dlx shadcn@latest add https://multidash-app.vercel.app/r/command.json

Installation

Add Command with the shadcn CLI, or copy the source by hand. In this repo there's nothing to install — import it from @multidash/ui.

$ pnpm dlx shadcn@latest add https://multidash-app.vercel.app/r/command.json

Adds the component, the components it builds on, its npm packages and the theme tokens it uses. Using Multidash often? Add the registry to components.json once:

components.json
{
  "registries": {
    "@multidash": "https://multidash-app.vercel.app/r/{name}.json"
  }
}

Then add components by name:

$ pnpm dlx shadcn@latest add @multidash/command

Usage

import {
  Command,
  CommandDialog,
  CommandInput,
  CommandList,
  CommandEmpty,
  CommandGroup,
  CommandItem,
  CommandShortcut,
  CommandSeparator,
} from "@multidash/ui/components/command"

Examples

Command palette

Toggle with a keyboard shortcut. Try ⌘J / Ctrl+J.