Components
← All components

Calendar

stimeo--calendar

A month calendar you drive from the keyboard, with the day grid and month steps handled.

  • Core
  • Date Picker Dialog

A month calendar for picking a date, following the WAI-ARIA Date Picker Dialog pattern. The arrow keys move by day, the page keys move by month, and Home and End jump to the ends of a week. Crossing the edge of a month steps into the next or previous one. A date the target month does not have, such as the 31st moving into a 30-day month, is rounded properly. Weekday and month names are built for the language on display, so they read correctly in English and Japanese alike.

running
S M T W T F S

Keyboard

KeyAction
Moves focus to the previous day, transitioning to the previous month automatically if crossing boundaries. Under RTL this is ArrowRight.
Moves focus to the next day, transitioning to the next month automatically if crossing boundaries. Under RTL this is ArrowLeft.
Moves focus to the same day of the previous week, transitioning to the previous month if necessary.
Moves focus to the same day of the next week, transitioning to the next month if necessary.
PageUp Moves focus to the same day of the previous month (clamped to month-end if needed) and transitions month.
PageDown Moves focus to the same day of the next month (clamped to month-end if needed) and transitions month.
Shift + PageUp Moves focus to the same day of the previous year (clamped if needed) and transitions year.
Shift + PageDown Moves focus to the same day of the next year (clamped if needed) and transitions year.
Home Moves focus to the first day of the current week.
End Moves focus to the last day of the current week.
T Instantly moves focus to today's date cell, transitioning to the current month if necessary.
Enter / Space Selects the currently focused day and dispatches stimeo--calendar:select (except disabled days).