Power-User Systems

Command Palette

A cmdk command menu with a plain or liquid-glass surface and hotkey trigger.

Install

bun add cmdk motion clsx tailwind-merge

Then copy 3 files into your project:

  • components/registry/command-palette/command-palette.tsx
  • components/ui/auto-mask-vertical.tsx
  • lib/utils.ts

Props

PropTypeDefaultDescription
hotkey"cmd+k" | "ctrl+k" | "/""cmd+k"Shortcut that opens the palette. cmd+k falls back to Ctrl+K on non-Apple platforms.
loopbooleantrueWrap keyboard selection at the list ends.
glassbooleanfalseLiquid-glass surface instead of a solid panel.

What It Demonstrates

Enter / Exit
The animation an element plays when it's added to or removed from the screen.
Scale in
Element grows from smaller to full size as it appears, often paired with a fade.
Blur
A blur filter used to soften an element or mask tiny imperfections.

Related Components

Appears In