Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The Blazor DateRangePicker is a lightweight and mobile-friendly component that allows end users to select start and end dates as a range from a calendar pop-up or by entering the value directly in an HTML input text box.


Why choose Syncfusion Essential Studio® Blazor DateRangePicker?

Blazor Date Range Picker Customizable Date Formats image

Customizable date formats 

The Blazor DateRangePicker component’s input value can be customized in addition to the default culture-specific date format. 

Blazor Date Range Picker Preset Range image

Preset range

Define preset ranges (like last 30 days or last week) to set date ranges frequently used by the end users.

Blazor Date Range Picker Resolution image

Adapts to any resolution

The Date Range Picker has a highly responsive layout and an optimized design for desktops, touch screens, and smart phones. It works well on all mobile phones that use iOS, Android, or Windows OS.

Blazor Date Range Picker Date Restriction image

Specific date restrictions

Restricts dates outside the min and max date ranges, allowing only valid dates to be entered. Users cannot enter or choose restricted dates.

Blazor Date Range Picker Theme image

Attractive customizable themes

Cutting edge design with 5+ built-in themes such as Fluent, Tailwind CSS, Bootstrap, Material, Fabric, and more. Utilize the online Theme Studio tool to customize themes of Date Range Picker easily.

Blazor Date Range Picker Globalization image

Globalization and localization

Enables users from different locales to use the DateRangePicker by formatting dates, currency, and numbering to suit preferences.


Blazor DateRangePicker Code Example

Easily get started with the Blazor DateRangePicker using a few simple lines of C# code example as demonstrated below, Also explore our Blazor DateRangePicker Example that shows you how to render the DateRangePicker component in Blazor.

@using Syncfusion.Blazor.Calendars

<SfDateRangePicker TValue="DateTime?" Placeholder="Choose a Range" Min="@MinDate" Max="@MaxDate"/>

@code {
public DateTime MinDate {get;set;} = new DateTime(2017, 01, 05);
public DateTime MaxDate {get;set;} = new DateTime(2017, 12, 20);
}

DateRangePicker with multiple language

Globalization translates the names of months, days, and the today button text to any supported language. The date format and first day of the week are set to specific cultures.

Multi language support in Blazor DateRangePicker.


Date selection within a range in Blazor DateRangePicker.

Date selection within a range

Enter or select a value within a specific range of dates by defining the min and max properties.


Date-range validation

The Blazor Date Range Picker allows display of date ranges. When the date value is out of this range, validation error is triggered. The invalid and out-of-date-range values are set in a disabled state to prevent users from entering them or selecting them.

Date range validation in Blazor DateRangePicker.


Blazor DateRangePicker customization.

Customize DateRangePicker

The appearance of the component can be completely changed. Customize the application’s look and feel according to the requirement.


Week number

Show the week numbers in the pop-up calendar.

Week number in Blazor DateRangePicker.


First day of week in Blazor DateRangePicker.

First day of week

Change the first day of the week for every month.


Accessibility

Keyboard navigation in Blazor DateRangePicker.

Keyboard navigation

The Blazor DateRangePicker component ensures that every cell is accessible using the keyboard. Major features like sort, select, and edit can be performed using keyboard commands alone; no mouse interaction is required. This helps in creating highly accessible applications using this component.

Accessibility and screen reader support in Blazor DateRangePicker.

Screen reader

The Blazor DateRangePicker view has complete WAI-ARIA accessibility support. The DateRangePicker UI includes high-contrast visual elements that help visually impaired people to have the best viewing experience. Also, valid UI descriptions are easily accessible through assistive technologies such as screen readers.

Show right-to-left language in Blazor DateRangePicker.

Right to left (RTL)

Right-to-left rendering allows displaying the text and layout of the DateRangePicker from right to left. This improves the user experience and accessibility for RTL languages.





Struggling to decide on the right product?

Our comprehensive competitor comparison of Blazor components will guide you to the perfect choice.

tick-mark Customizable date formats
tick-mark Specific date restrictions
tick-mark Inline and pop-up modes
competitive-banner-FT-image

Other supported frameworks

The DateRangePicker is available for the React, Angular, JavaScript, and Vue frameworks. Explore its platform-specific options through the following links:

Supported browsers

The Blazor DateRangePicker works well with all modern web browsers, including Chrome, Firefox, Edge, Safari, and Opera.

Supported browsers in Blazor DateRangePicker.

Blazor Components – 145+ UI and DataViz Components