Calendar
Calendar — Prism component.
Signature
Density
Viewport
Theme follows the navbar ☀/☾ toggleWhen to use
Calendar — Prism component.
Accessibility
Keyboard-navigable grid (arrow keys move days, PageUp/PageDown move months). The selected date is announced; the field has a clear label.
Import
const { Calendar } = window.PrismDesignSystem_39d121;
Props
| Prop | Type | Required | Description |
|---|---|---|---|
mode | "single" | "range" | — | |
value | Date | \{ start: Date; end: Date | null \} | — | |
onSelect | (date: Date) => void | — | |
minDate | Date | — | |
maxDate | Date | — |