115
A search button that grows into a keyboard launcher, with grouped actions and their shortcuts, your recent picks, a highlight that glides as you arrow through and pages you can step into.
akacommand menu·cmd k·palette
Run this in any project set up for the shadcn CLI. It copies the Launcher source into your components folder, so the code is yours to change.
npx shadcn@latest add https://devl.dev/r/launcher.jsonImport it and render it. Every prop has a typed default, so it works straight away, and you pass your own data when you’re ready.
import { Launcher } from "@/components/launcher";
export default function Page() {
return <Launcher />;
}A free React component in the Workspace collection, written in TypeScript with Tailwind CSS on coss ui. MIT licensed.
Read from the Launcher source. Everything is optional unless it says required.
| Prop | Type | Default |
|---|---|---|
| actionsrequired | LauncherAction[] | — |
| pages | Record<string, LauncherPage> | {} |
| defaultRecent | string[] | [] |
| recentLimit | number | 3 |
| placeholder | string | "Type a command or search…" |
| triggerLabel | string | "Search or jump to…" |
| defaultOpen | boolean | false |
| className | string | — |