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.

June 2026
SMTWTFS
31123456
78910111213
14151617181920
21222324252627
2829301234
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.

June 2026
SMTWTFS
31123456
78910111213
14151617181920
21222324252627
2829301234
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.

June 2026
SMTWTFS
31123456
78910111213
14151617181920
21222324252627
2829301234
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.

June 2026
SMTWTFS
31123456
78910111213
14151617181920
21222324252627
2829301234
Selected Day : 6/12/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).

June 2026
SMTWTFS
2331123456
2478910111213
2514151617181920
2621222324252627
272829301234
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).

June 2026
TWTFSSM
222627282930311
232345678
249101112131415
2516171819202122
2623242526272829
2730123456

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.