Calendar
shadcn Calendar on react-day-picker, Maia preset. 48px days for caregivers; every demo uses the same mock today, 11 November 2026.
Basic
- Days are 48px, the caregiver control height.
- The selected day is teal; today has a grey ground.
November 2026
| Su | Mo | Tu | We | Th | Fr | Sa |
|---|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
Range
- Two months side by side for ranges that cross a month.
- The ends are teal; the days between sit on grey.
November 2026
| Su | Mo | Tu | We | Th | Fr | Sa |
|---|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
December 2026
| Su | Mo | Tu | We | Th | Fr | Sa |
|---|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
Month and year
- Dropdowns for dates far away, like a date of birth.
- Limit the years to the ones that make sense.
May1948May 1948 | Su | Mo | Tu | We | Th | Fr | Sa |
|---|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
Presets
- Chips for the dates people pick most, two per row, all the same width, in a grey footer that never widens the card.
- Picking a chip moves the calendar to that month.
November 2026
| Su | Mo | Tu | We | Th | Fr | Sa |
|---|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
Date and time
- Time fields sit inside the calendar card, under a divider.
- Each time has a visible label and a clock icon.
November 2026
| Su | Mo | Tu | We | Th | Fr | Sa |
|---|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
Booked dates
- Full days are crossed out and can't be picked.
- Say why in words near the calendar, not only with the line.
November 2026
| Su | Mo | Tu | We | Th | Fr | Sa |
|---|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
Crossed-out days are full. Pick another day for the home visit.
Custom cell size
- Set --cell-size inline to make room for a value under each day.
- Keep the extra value short, like the planned walk.
November 2026
| Su | Mo | Tu | We | Th | Fr | Sa |
|---|
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
| | | | | | |
Week numbers
- Week numbers help when a plan is written in weeks.
November 2026
| Su | Mo | Tu | We | Th | Fr | Sa |
|---|
45 | | | | | | | |
46 | | | | | | | |
47 | | | | | | | |
48 | | | | | | | |
49 | | | | | | | |