stylexcn

Command

Command menu for search and quick actions. Type to filter, select an item, or open CommandDialog.

Preview

Selected: calendar

Command Palette

Search for a command to run...

Installation

pnpm dlx shadcn@latest add https://stylexcn.vercel.app/r/command.json
pnpm dlx shadcn@latest add @stylexcn/command

Usage

<Command>
  <CommandInput placeholder="Type a command or search..." />
  <CommandList>
    <CommandEmpty>No results found.</CommandEmpty>
    <CommandGroup heading="Suggestions">
      <CommandItem>Calendar</CommandItem>
    </CommandGroup>
  </CommandList>
</Command>