Calendar

A date calendar grid with selection, navigation, and keyboard interaction.

Single Date

Click a date to select it. Click again to deselect.

February 2026
1
2345678
9101112131415
16171819202122
232425262728

Date Range

Select a start and end date to create a range.

February 2026
1
2345678
9101112131415
16171819202122
232425262728

Multiple Dates

Click multiple dates to select them individually.

February 2026
1
2345678
9101112131415
16171819202122
232425262728

Two Months

Display two months side by side for range selection.

January 2026
1234
567891011
12131415161718
19202122232425
262728293031
February 2026
1
2345678
9101112131415
16171819202122
232425262728

Usage

julia
using Suite

# Single date selection (default)
Calendar()

# Range selection with two months
Calendar(mode="range", number_of_months=2)

# Multiple date selection
Calendar(mode="multiple")

# Pre-selected date
Calendar(selected="2026-02-14", month=2, year=2026)

# Disabled dates
Calendar(disabled_dates="2026-02-14,2026-02-15")

# Without outside days
Calendar(show_outside_days=false)

# Fixed 6-week grid
Calendar(fixed_weeks=true)

Keyboard Interactions

KeyAction
ArrowLeftMove focus to previous day
ArrowRightMove focus to next day
ArrowUpMove focus to same day in previous week
ArrowDownMove focus to same day in next week
PageUpMove focus to same day in previous month
PageDownMove focus to same day in next month
Shift+PageUpMove focus to same day in previous year
Shift+PageDownMove focus to same day in next year
HomeMove focus to start of week (Monday)
EndMove focus to end of week (Sunday)
Space / EnterSelect focused date

API Reference

PropTypeDefaultDescription
modeString"single"Selection mode: single, multiple, or range
monthIntcurrent monthDisplayed month (1-12)
yearIntcurrent yearDisplayed year
selectedString""Pre-selected date(s), comma-separated ISO strings
disabled_datesString""Disabled dates, comma-separated ISO strings
show_outside_daysBooltrueShow days from adjacent months
fixed_weeksBoolfalseAlways show 6 weeks
number_of_monthsInt1Number of months to display side by side
classString""Additional CSS classes
themeSymbol:defaultTheme preset