RetroHoverCard

A hover-triggered popup card with Mac OS 9 raised bevel for previewing link content.

Installation

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

Basic Link Hover Card

Visit the Apple Support page for troubleshooting.

Multiple Inline Hover Cards

Classic Mac OS shipped with SimpleText, Sherlock, and Finder.

Rich Content

Learn more about the Power Macintosh G3 series.

Rest the pointer on any blue link, or Tab to it, to see its card grow out of the link. Move away and it closes.