Command
A ⌘K palette for fast navigation and search.
Install
npx shadcn add @clearly/commandPreview
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
| Prop | Type | Default | Description |
|---|---|---|---|
open | boolean | — | Controlled open state (CommandDialog). |
onOpenChange | (open: boolean) => void | — | Open-state callback (CommandDialog). |
title | string | "Command Palette" | Screen-reader title (CommandDialog). |
description | string | "Search for a command to run..." | Screen-reader description (CommandDialog). |