The Blazor DatePicker is a lightweight and mobile-friendly component that allows end users to enter or select a date value. It has month, year, and decade views to navigate quickly to a desired date. It supports minimum dates, maximum dates, and disabled dates to restrict the date selection.
Select only a month or year as a value (month picker or year picker) from a pop-up calendar.
Change the default culture’s date format in the text box to improve readability or to enter the date properly.
You can restrict the Blazor DatePicker component so that only a date value within a specific range of dates can be entered or selected by specifying the minimum and maximum dates.
Disable any date in a date picker to show it as an inactive date. Easily prevent weekends and holidays from selection by disabling them in the pop-up calendar.
Date values are validated within a minimum and maximum range. Strict mode behavior is used to enforce entering only a valid date value. In a form component, integrate the form validation plugin to perform custom validation in the date text box.
Change the culture-specific date format and first day of the week. Translate the names of months, days, and the today button text to any supported language with our globalization features.
The Blazor DatePicker component has a standard, built-in theme but provides you with complete control over its appearance, letting you customize its style to suit your application.
Highlight any date in a year or every weekend in a month as special days using custom styling.
Auto-update the first day of the week by specifying the culture or change it based on your application.
Show the week number of the selected day in the pop-up calendar by enabling the week number option.
The Blazor DatePicker component provides a responsive mode that gives an adaptive, redesigned UI appearance for mobile devices.
You have control over all the UI elements and behaviors of the components with a rich set of developer-friendly APIs so that you can provide the best experience to your end users.
The Blazor DatePicker component supports several built-in themes: Tailwind CSS, Fluent, Bootstrap 5, Bootstrap 4, Bootstrap, Material, Fabric, and high contrast. Users can customize any one of these built-in themes or create new themes to achieve their own desired look and feel either by simply overriding SASS variables or using our Theme Studio application.
DatePicker is also available in JavaScript, Angular, React and Vue frameworks that are built from their own TypeScript libraries. Check out the different DatePicker platforms from the links below,
Easily get started with the Blazor DatePicker using a few simple lines of C# code example as demonstrated below. Also explore our Blazor DatePicker Example that shows you how to render and configure the DatePicker in Blazor.
@page "/DatePicker/Default-Functionalities"
@using Syncfusion.Blazor.Calendars
@inherits SampleBaseComponent;
<div class="control-section">
<div id="wrapper">
<SfDatePicker TValue="DateTime?" Placeholder="Choose a Date" ShowClearButton="true"></SfDatePicker>
</div>
</div>
<style>
#wrapper {
max-width: 270px;
margin: 0px auto;
padding-top: 50px;
}
</style>
You can find our Blazor DatePicker demo here.
No, this is a commercial product and requires a paid license. However, a free community license is also available for companies and individuals whose organizations have less than $1 million USD in annual gross revenue and five or fewer developers.
A good place to start would be our comprehensive getting started documentation.
Greatness—it’s one thing to say you have it, but it means more when others recognize it. Syncfusion is proud to hold the following industry awards.