RetroAlert

An inline alert banner with Mac OS 9 beveled styling for notices, warnings, and errors.

Installation

npx shadcn@latest add "https://nostalgia-ui.com/r/retro-alert.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

Import

import { RetroAlert } from "@/components/ui/retro-alert"

Default Variant

Warning Variant

Destructive Variant

All Variants