RetroAlertDialog

A modal confirmation dialog with Mac OS 9 window chrome for destructive or important actions.

Installation

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

Confirmation Dialog

Destructive Action

Note

Click a button to open the alert dialog. Use Cancel or the action button to close.