Lumeo

Calendar

A date picker calendar component for selecting dates.

Installation

dotnet add package Lumeo

One-time app setup (AddLumeo(), CSS & JS) is covered in the installation guide.

Usage

@using Lumeo

<Calendar />

When to Use

  • Displaying a visual calendar for date selection and browsing
  • Event scheduling interfaces where users pick start and end dates
  • Date range visualization such as booking check-in and check-out
Su
Mo
Tu
We
Th
Fr
Sa
Su
Mo
Tu
We
Th
Fr
Sa
Su
Mo
Tu
We
Th
Fr
Sa
Su
Mo
Tu
We
Th
Fr
Sa

Selectable range: May 28 — Jul 4, 2026

Su
Mo
Tu
We
Th
Fr
Sa

Hover any day for the tooltip; the badge dot indicates booking status — green = available, amber = partial, red = sold out, grey = closed.

Su
Mo
Tu
We
Th
Fr
Sa

Pick a start date

API Reference

Calendar

Prop Type Default Description
ValueDateOnly?nullThe currently selected date. Use with @bind-Value for two-way binding.
ValueChangedEventCallback<DateOnly?>Callback invoked when the selected date changes.
MinDateDateOnly?nullThe earliest selectable date. Dates before this are disabled.
MaxDateDateOnly?nullThe latest selectable date. Dates after this are disabled.
IsRangeboolfalseEnables date range selection mode.
RangeStartDateOnly?nullThe start of the selected date range. Use with @bind-RangeStart.
RangeStartChangedEventCallback<DateOnly?>Callback invoked when the range start changes.
RangeEndDateOnly?nullThe end of the selected date range. Use with @bind-RangeEnd.
RangeEndChangedEventCallback<DateOnly?>Callback invoked when the range end changes.
NumberOfMonthsint1Number of months to display side by side.
ShowWeekNumbersboolfalseDisplays ISO week numbers alongside the calendar rows.
ShowYearPickerboolfalseEnables the year picker view.
InitialViewCalendar.CalendarViewDaysInitial calendar view. Values: Calendar.CalendarView.Days, Months, Years.
IsDateDisabledFunc<DateTime, bool>?nullCustom function to disable specific dates.
DateClassFunc<DateTime, string>?nullCustom function to add CSS classes to specific dates.
DateTooltipFunc<DateTime, string?>?nullPer-date tooltip text rendered as the day cell's title attribute (native browser tooltip on hover). Return null/empty for no tooltip.
rc.20
DateBadgeFunc<DateTime, RenderFragment?>?nullPer-date indicator slot rendered absolutely positioned in the bottom-right of the day cell — status dots, count badges, icons. Non-interactive (pointer-events-none) so clicks still hit the day button.
rc.20
SwipeEnabledbooltrueEnables swipe-left/right on the day grid to navigate months on touch devices. Set to false to disable.
FirstDayOfWeekDayOfWeekSundayThe first day of the week in the calendar grid.
Classstring?nullAdditional CSS classes.
AdditionalAttributesDictionary<string, object>?nullAdditional HTML attributes.
  • DatePicker — For selecting dates via an input field with a calendar dropdown