Back to Components
Navigation

Command

Command input component with searchable list of actions.

PropsUsage ExampleVariations
Suggestions
CalendarC
Search EmojiS
Calculator=
Settings
ProfileP
BillingB
Settings,

Dependencies

  • clsx
  • tailwind-merge

Files

  • components/ui/command.tsx

Installation

Using shadcn CLI

npx shadcn add command --url https://ui.hampton.io

Manual installation

Copy the component file to your project and install dependencies:

npm install clsx tailwind-merge

Related Navigation Components