RetroProgress

A progress bar with Mac OS 9 candy-stripe pattern in determinate and indeterminate modes.

Installation

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

Determinate Values

0%
25%
50%
75%
100%

Eased Fill

Real progress arrives in jumps; the fill eases to each new value so it reads as steady work.

Copying “System Folder”… 0%

Indeterminate

Edge Cases (clamped)

value={-20} (clamped to 0)
value={150} (clamped to 100)

Custom Width

w-[160px] (Figma default)
w-full (full width)

The candy-stripe fill eases to each new value. Indeterminate mode is a barber pole: the stripes scroll smoothly, or a stripe at a time with data-flair="classic", and hold still with reduced motion.