Dates
Calendar
A month grid to pick a day or a range, with the keyboard or the pointer.
Dates
A month grid to pick a day or a range, with the keyboard or the pointer.
Change the props on the right. The calendar and its code follow.
December 2026
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
import { Calendar } from 'omuk-ui/calendar';
<Calendar
aria-label="Due date"
value={day}
onChange={setDay}
/>The value is ISO text, such as 2026-11-23. minValue stops the past; isDateUnavailable crosses out the days that cannot be chosen, here the weekends.
November 2026
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
Choose a weekday for the delivery.
In range mode, the first click sets one end and the second the other; the days between fill as the pointer moves. The value is { start, end }, always in order.
December 2026 – January 2027
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
| Sun | Mon | Tue | Wed | Thu | Fri | Sat |
|---|---|---|---|---|---|---|
Away from 2026-12-21 to 2026-12-28.
For a calendar that opens from a field, use Date picker: it passes these on.
The month grid is one Tab stop: the focused day.