RetroThinking

Mac OS 9 AI thinking states: the watch cursor and a barber pole while a reply is pending, and a collapsible reasoning panel.

Installation

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

Usage

import { RetroThinking, RetroReasoning } from "@/components/ui/retro-thinking"

// after Send, before the first token
{status === "submitted" && <RetroThinking />}

// a reasoning part: opens while streaming, closes when the answer starts
<RetroReasoning part={part} />

Thinking

Thinking…

Shown between Send and the first token. After three seconds it counts the wait. The watch sits in the same 16px column as the assistant's icon in RetroMessage.

Watch Icon

The OS 9 busy cursor at 16 and 12 pixels, and stopped. Classic flair ticks the hands in eight steps.

Reasoning

Press Think to stream some reasoning.

Opens itself while the model thinks and closes when it's done. Open or close it yourself and it leaves your choice alone.

Finished