RetroCalendar

A month calendar with Mac OS 9 styling, supporting single dates, ranges and multiple dates.

Installation

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

A month calendar with OS9 styling, built on UI SDK's Calendar. Supports single dates, ranges and multiple dates, and takes and returns plain Date objects.

Single Date Selection

November 2026

SunMonTueWedThuFriSat
1234567
891011121314
15161718192021
22232425262728
293012345

Selected: 11/14/2026

Range, Two Months

November – December 2026

SunMonTueWedThuFriSat
1234567
891011121314
15161718192021
22232425262728
2930
SunMonTueWedThuFriSat
12345
6789101112
13141516171819
20212223242526
272829303112

Pick a start, then an end

Multiple, Weekends Unavailable

November 2026

SunMonTueWedThuFriSat
1234567
891011121314
15161718192021
22232425262728
293012345

0 days selected

Default (No Preselection)

November 2026

SunMonTueWedThuFriSat
1234567
891011121314
15161718192021
22232425262728
293012345

Click a date to select it, and click it again to clear it. Use the arrow buttons to change months, or focus a day and use the arrow keys (Page Up and Page Down change months). Today is underlined.