Calendars
0 of 5 shipped. Nothing has shipped here yet. The list below is what this family will hold, and how each structure differs.
Planned 5
Single month calendar
The baseline grid: one month, one selected date, roving tabindex over day cells with arrow keys, Home and End for week edges, PageUp and PageDown for months, Shift plus PageUp and PageDown for years. Today is marked with a ring and aria-current, never by colour alone.
Week strip calendar
One row instead of a month matrix: seven equal width targets with scroll snap paging by week, a month label that updates when the visible week crosses a month boundary, and a Today button that appears only when today is off screen. ArrowLeft and ArrowRight move by day and roll into the adjacent week, PageUp and PageDown move by week. Days with entries carry a dot and the count in their accessible name. The snap animation is removed under prefers-reduced-motion.
Calendar with week numbers
Adds a row header column and a second selection mode: activating a week number selects Monday to Sunday as one band and reports the ISO week and year. Hovering or focusing a week number previews the band before commit. Week start is a prop (Monday default).
Calendar with day markers
Day cells become two line cells (number plus a marker row) and the component is a master and detail pair: the grid drives a live region list below it. Markers use distinct lucide shapes plus token colours (primary, success, warning) and each cell's accessible name includes the count, such as '14 November, 2 events'.
Calendar with month and year jump
Three stacked views in one frame (days, months, years) instead of paging month by month. Activating the caption zooms out, choosing a cell zooms back in, Escape steps back one level. Each level is its own 3 or 4 column grid with arrow key navigation, and min and max dates disable whole months and years.