Command

A ⌘K palette for fast navigation and search.

Install

npx shadcn add @clearly/command

Preview

Live Command component — see usage below.

Usage

import { Command } from "@/components/ui/command"

<Command />

Every Clearly component also accepts glass (subtle·medium·strong), specular and className.

Props

PropTypeDefaultDescription
openbooleanControlled open state (CommandDialog).
onOpenChange(open: boolean) => voidOpen-state callback (CommandDialog).
titlestring"Command Palette"Screen-reader title (CommandDialog).
descriptionstring"Search for a command to run..."Screen-reader description (CommandDialog).