fndn/ui

Components

Calendar

Beta

A month grid to pick a date, several dates or a range.

Details

A month grid to pick a date, several dates or a range, shown inline. A header with the pager's previous and next buttons around the month, which switches to a month and then a year view; seven columns of days, six weeks so the grid never changes height. The selected date is filled with ink, the hovered one takes the hover colour, today carries a dot. Arrow keys, Page Up / Down, Home and End move through the days at once. Behaviour, focus and ARIA come from the Zag date-picker machine, through Ark UI. The date picker shows the same views in its popup.

Behaviour from Ark UI, the date-picker machine of Zag.