Skip to content
uicoolkit
  • Components

  • Docs

↑↓ navigate↵ open/ anywhere
Menu

Command Menu

FreeSample

A command palette that filters as you type, groups results and animates its height smoothly as the list changes.

Original
  • navigation
  • search
  • keyboard
  • Invite teammate⌘I
  • New document⌘N
  • Upgrade workspace
  • Open settings⌘,

Customize

Accent
Motion
Speed

These controls show a few ways to adapt it. The source is fully editable.

Install

Not published yet
npx shadcn@latest add @uicoolkit/command-menu

Install commands go live when this item ships to the registry.

Dependencies

  • motion

Use with an agent

Copy a prompt with this component, your current preview settings and links to its docs.

Add the UICoolKit "Command Menu" component (command-menu) to this project.
Docs: https://uicoolkit.com/components/command-menu
Agent docs: https://uicoolkit.com/components/command-menu.md
Install: npx shadcn@latest add @uicoolkit/command-menu
Preview settings to match: accent Ember, radius 12px, motion on.
Use the documented props and className hooks rather than editing internals, and wire it to this app's real state.
(Note: this is a sample item from the UICoolKit website shell and is not published yet.)
command-menu.tsx
<CommandMenu
  open={open}
  onOpenChange={setOpen}
  groups={commandGroups}
/>