A ⌘K palette for jumping and acting, with previews and nested steps.
Import it and pass your content. The props that matter most are listed next.
"use client";
import { CommandPalette, type PaletteItem } from "@/components/ui/notchset/blocks/command-palette";
const items: PaletteItem[] = [
{ id: "planner", group: "AGENTS", title: "Planner", glyph: "PL", kind: "AGENT", action: "OPEN AGENT" },
{ id: "pause", group: "ACTIONS", title: "Pause Planner", glyph: ">", kind: "ACTION", action: "PAUSE", prefix: ">", onRun: () => "PLANNER PAUSED" },
];
export function Commands() {
return <CommandPalette items={items} />;
}items–
{ id, group, title, glyph, round?, kind, meta?, description?, facts?, action, shortcut?, prefix?, step?, onRun? }[]Everything it can find. prefix makes an item answer to a scope; step opens nested items instead of running; onRun returns a confirmation.
recent–
string[]Ids shown under RECENT while the query is empty.
scopes{ ">": "ACTIONS", "#": "RUNS", "@": "PEOPLE" }
Record<string, string>Prefixes and the chip each shows.
open / defaultOpen / onOpenChange–
boolean⌘K inside the block toggles it.
triggerLabel / hint / placeholder–
stringThe trigger, the line under it until something runs, and the input's hint.
CommandPalettedata-slot="command-palette"
The trigger and the palette.
components/ui/notchset/blocks/command-palette.tsx
This component is included with Pro.
Try the live preview above. Get Pro to install the source.
pnpm dlx shadcn@latest add @beautiful-ui-pro/command-paletteNeeds your registry key. Your components.json style picks the Base UI or Radix build: radix-*, new-york and default get Radix, base-* gets Base UI.
The CLI adds the styles to the CSS file named in components.json (tailwind.css). Check that it points at your global stylesheet, that the project uses Tailwind CSS v4, and that the file is imported in your root layout. Installed by hand: paste styles.css into that file.
Give your coding assistant the Markdown guide instead of screenshots.
https://beautiful-ui.dev/api/mcp (setup)v1.0.0 · 2026-10-03
First release
Pro is in early access.