Go anywhere or do anything by typing (⌘K).
Every shadcn style · one file
v2.1 · Updated Oct 21pnpm dlx shadcn@latest add https://notchset.dev/r/command-menu.jsonpnpm dlx shadcn@latest add https://notchset.dev/r/command-menu.jsonFree, no account or key. One command for every shadcn style. With the @notchset registry added, @notchset/<name> works too.
Works with React 18.3 or 19 on Tailwind CSS v4, in any shadcn project. What's tested
pnpm add @base-ui/react@^1 lucide-react@^1The 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.
Import it and pass your content. The props that matter most are listed next.
"use client";
import * as React from "react";
import { Building2, Command, Home, Inbox, Plus } from "lucide-react";
import { Button } from "@/components/ui/notchset/button";
import { CommandMenu } from "@/components/ui/notchset/command-menu";
import { KeyboardHint } from "@/components/ui/notchset/keyboard-hint";
const COMPANIES = [
["Airtable", "$48,000"],
["Stripe", "$152,000"],
["Webflow", "$214,500"],
];
export default function CommandMenuDemo() {
const [open, setOpen] = React.useState(false);
const [ran, setRan] = React.useState<string | null>(null);
return (
<div className="flex items-center gap-3">
<Button onClick={() => setOpen(true)}>
<Command />
Open
<KeyboardHint keys="⌘K" />
</Button>
{ran && <span className="text-[length:var(--ns-text-small)] text-[var(--ns-ink-3)]">Ran: {ran}</span>}
<CommandMenu
open={open}
onOpenChange={setOpen}
commands={[
{ id: "home", group: "Go to", label: "Home", icon: <Home />, hint: "G H", run: () => setRan("Home") },
{ id: "inbox", group: "Go to", label: "Inbox", icon: <Inbox />, hint: "G I", run: () => setRan("Inbox") },
{ id: "new-deal", group: "Create", label: "New deal", icon: <Plus />, keywords: "add opportunity", run: () => setRan("New deal") },
...COMPANIES.map(([name, value]) => ({ id: `co-${name}`, group: "Companies", label: name!, icon: <Building2 />, hint: value, run: () => setRan(name!) })),
]}
/>
</div>
);
}components/ui/notchset/command-menu.tsx
open–
booleanRequired.
onOpenChange–
(open: boolean) => voidRequired.
commands–
Command[]Required.
shortcuttrue
booleanBind ⌘K / Ctrl K to open it.
placeholder"Search or jump to…"
stringanchor"center"
"center" | "search""center" (a dimmed dialog, the default) or "search" (a popover over the sidebar's search field, nothing dimmed).
scope–
{ label: string; groups: string[] }Tab narrows the search to these groups (search tasks only); Backspace in an empty field widens it again.
seeAll–
(query: string) => CommandWith a query, a last row that opens every result on its own page ("See all results for …").
Give your coding assistant the Markdown guide instead of screenshots.
https://notchset.dev/api/mcp (setup)v2.1.0 · 2026-10-21
Cancelling returns focus to what opened it when that is in sight, an open panel's controls included.
v2.0.0 · 2026-10-13
Released with the Notchset system.
The same file, at work in a finished app. Open it live and find it on its pages.
App shell and the day. The frame every screen sits in, and what a person should do today.
4 free · 5 ProSee the App shell and the day kit