Skip to content
Dumb UI

Search Dumb UI

Jump to a page or component, or switch the style

Search Dumb UI

Jump to a page or component, or switch the style

Calendar

Date and range picking on react-day-picker. Day cells use the style's ghost button physics.

Forms
October 2026
$ pnpm dlx shadcn@latest add @dumb/calendar

Needs the @dumb registry in components.json and the style tokens. See Installation.

import { Calendar } from "@/components/ui/calendar"
const [date, setDate] = React.useState<Date | undefined>(new Date())

<Calendar mode="single" selected={date} onSelect={setDate} />

Range

Two months, range selection.

October 2026
November 2026

Date picker

Calendar in a Popover, triggered by an outline button.

Arrow keys
Moves between days.
PageUpPageDown
Previous / next month.
HomeEnd
Start / end of week.
EnterSpace
Selects the focused day.