RetroDrawer
A bottom drawer panel with Mac OS 9 styling that slides up from the screen edge.
Installation
npx shadcn@latest add "https://nostalgia-ui.com/r/retro-drawer.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 { RetroDrawer } from "@/components/ui/retro-drawer"A bottom drawer with OS9 styling. It rises from the bottom edge and follows your pointer: drag the sheet down and let go to dismiss it, or release early and it springs back. Built on UI SDK's drawer.
Basic Drawer
Confirmation Drawer
Click a button to open the drawer. Drag it down, click outside, or press Escape to dismiss.