ComponentsCalendar

Calendar

Select a day or a date range in a keyboard-navigable month grid.

Example

Select a date.

Setup

Download the shared Inlay assets once. Then choose HTML, React, or Vue and copy the example above.

Date range

Select two endpoints and see every included day.

Example

Select a start and end date.

Unavailable days

Keep weekends visible while only accepting workdays.

Example

Select a date.

Usage

NavigationTab into the calendar and use arrows to move by day or week. Home and End move within the week. Page Up and Page Down change month.
Unavailable datesUse data-ilui-unavailable="weekends" to demonstrate a blocked schedule. Blocked days remain readable as you explore the grid.
ValuesListen for ilui:date-change. Its detail provides start and end as local calendar dates in YYYY-MM-DD form.