RetroDatePicker

A full-featured date picker with typed input and calendar popover in Mac OS 9 styling.

Installation

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

Date pickers with a typed field and a calendar popover, built on UI SDK's Date Picker. Type a date in your language's order (like 10/16/2026) and press Return, or click the calendar button.

Single Date (Controlled)

MM/DD/YYYY

Selected: None

Single Date (Uncontrolled)

MM/DD/YYYY

Disabled

MM/DD/YYYY

Date Range

MM/DD/YYYY

From: None — To: None

Date Range (Disabled)

MM/DD/YYYY

Typed dates commit on Return or when you leave the field; text that isn't a date stays marked until it's fixed. In the calendar, arrow keys move by day and week, Page Up and Page Down by month, and Escape closes it. For ranges, pick the start, watch the range preview, then pick the end.