Blazor Toolkit

Blazor Toolkit Calendar Component

The Blazor Calendar component provides an intuitive interface for date selection and navigation. It offers a comprehensive set of features including multiple view modes, multi-selection, week number and accessibility support for building robust date-picking experiences.

May 2026
SMTWTFS
262728293012
3456789
10111213141516
17181920212223
24252627282930
31123456
Year And Decade Views

The Calendar component supports multiple view modes including month, year, and decade views. Users can switch between different views using the Start and Depth properties to control the initial view and navigation depth.

2026
JanFebMarApr
MayJunJulAug
SepOctNovDec
2020 - 2029
2019202020212022
2023202420252026
2027202820292030
Date Range

The Min and Max properties used to control date selection by setting minimum and maximum selectable dates. This ensures users can only select dates within the specified range, making it ideal for booking systems and date-restricted scenarios.

May 2026
SMTWTFS
262728293012
3456789
10111213141516
17181920212223
24252627282930
31123456
Multi Selection

The IsMultiSelection property enable users to select multiple non-consecutive dates. This is useful for scheduling events, selecting date ranges, or marking multiple important dates.

May 2026
SMTWTFS
262728293012
3456789
10111213141516
17181920212223
24252627282930
31123456
Special Dates

Customize specific dates in a Blazor Calendar by handling the DayCellRendering event. This event fires for each day cell as it is created, allowing the addition of CSS classes and, if needed, disabling particular dates. The following example highlights two sets of days in the current month with custom styles using the personal-appointment and official-appointment classes, and updates a label on selection via ValueChange event.

May 2026
SMTWTFS
262728293012
3456789
10111213141516
17181920212223
24252627282930
31123456
Selected Day : 5/23/2026
Islamic Calendar

The Blazor Calendar component supports displaying the Islamic (Hijri) Calendar. The Hijri Calendar is a lunar Calendar with 12 months and 354 or 355 days per year. To render the Islamic Calendar, set the CalendarMode property to CalendarType.Islamic. This switches the Calendar system used for display and selection.

Dhu'l-Hijjah1447
SMTWTFS
30123456
78910111213
14151617181920
21222324252627
282912345
Week Number

The WeekNumber property is used to display week numbers alongside the Calendar dates. This feature is particularly useful for business applications that reference ISO week numbers for planning and reporting purposes. Configure how the first week of the year is determined by using the WeekRule property (aligned with .NET CalendarWeekRule semantics).

May 2026
SMTWTFS
18262728293012
193456789
2010111213141516
2117181920212223
2224252627282930
2331123456
First Day Of Week

The Calendar provides an option to change the first day of the week by using the FirstDayOfWeek property. Generally, the day of the week starts from 0 (Sunday) and ends with 6 (Saturday).

May 2026
TWTFSSM
182829301234
19567891011
2012131415161718
2119202122232425
222627282930311

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.