Skip to content
GitHub

Calendar

Select a date or a range of dates.

April 2026
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2

Installation

Usage

Controlled

29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2

2026-04-03

Examples

Date Range

29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2

Month and Year Selector

29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2

With Presets

29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2

Multiple Months

April 2026 - May 2026
29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
26
27
28
29
30
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5
6

Min and Max

Use the min and max props with parseDate to restrict the selectable date range.

23
24
25
26
27
28
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
1
2
3
4
5

Select Today

29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2

Fixed Weeks

Use the fixedWeeks prop to always display 6 weeks in the calendar, preventing layout shifts when navigating between months.

29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2
3
4
5
6
7
8
9

Booked Dates

Use the isDateUnavailable prop to mark specific dates as unavailable.

29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2

Custom Cell Size

Use [--cell-size:--spacing("value")] to set the size of the calendar cells.

29
30
31
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
1
2

Breakpoint utilities change the cell size at different screen sizes.

API Reference

Calendar

Root component. Manages date view, selection, and navigation.

CalendarViewControl

Holds prev/next buttons and month/year selects.

CalendarMonthSelect

Month selector dropdown. Uses NativeSelect internally.

CalendarYearSelect

Year selector dropdown.

CalendarTable

Table layout for the calendar day grid.

CalendarWeekDays

Header row with week day names (Sun–Sat).

CalendarTableDays

Body with day cells for the current month.

CalendarTableNextMonth

Body for additional month(s). Use with numOfMonths for multi-month layout.

CalendarTableCell

Single day cell. Clickable for selection. Shows disabled/outside styling.

parseDate

Utility for parsing dates. Use with min, max, value, and defaultValue.


For a complete list of props, see the Ark UI documentation.