RetroCommand

A command palette and search interface with Mac OS 9 styling, keyboard navigation, and shortcuts.

Installation

npx shadcn@latest add "https://nostalgia-ui.com/r/retro-command.json"

Setup: installing any component also installs nostalgia-theme (the --os9-* tokens and os9-* utilities) via registryDependencies. To add the theme on its own: npx shadcn@latest add https://nostalgia-ui.com/r/nostalgia-theme.json. Put @layer ui-sdk; above @import "tailwindcss" in your global CSS (why).

Import

import { RetroCommand } from "@/components/ui/retro-command"

A command palette / search interface styled for OS9, built on UI SDK's Command. Supports keyboard navigation, grouped items, shortcuts, and filtering. The highlight glides between commands, and a chosen command blinks before it runs, like a menu item.

Command Palette

Type in the search field to filter commands. Use arrow keys to navigate and Enter to run. Escape clears the search. Keyboard shortcuts are displayed on the right. Put RetroCommandEmpty next to the list, not inside it.