RetroPopover

A click-triggered popup panel with Mac OS 9 raised bevel for forms and information.

Installation

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

With Form Content

Simple Info Popover

Click a button and the popover grows out of it. Click outside or press Escape to close. With classic flair or reduced motion it appears at once.