RetroModelPicker

A Mac OS 9 pop-up menu for choosing an AI model, with an icon and a short description per model.

Installation

npx shadcn@latest add "https://nostalgia-ui.com/r/retro-model-picker.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 { RetroModelPicker } from "@/components/ui/retro-model-picker"

Usage

const models = [
  { id: "quick", name: "Quick", description: "Fast answers for everyday questions", icon: <QuickIcon /> },
  { id: "thorough", name: "Thorough", description: "Thinks longer; better with files and plans" },
]

<RetroModelPicker models={models} value={model} onValueChange={setModel} />

Basic

Selected: thorough

Arrow keys move the highlight, typing a name jumps to it, and Return chooses. Models that aren't available stay in the list, dimmed.

In a Composer

In a prompt input's toolbar the menu opens upward (side="top", the default).

No Selection, Disabled