The React 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 view options to quickly navigate to the desired date. It supports minimum dates, maximum dates, disabled dates to restrict date selection and industry-standard themes such as Material, Fabric, and Bootstrap.
Enter valid dates in the correct format and avoid data input errors during data entry.
Select only a month or a year as a value (Month Picker or Year Picker) from a pop-up calendar.
Change the default culture’s specific date format in the text box to improve readability or to enter the date properly.
Restrict the users from selecting a date within the particular range of dates by using the min and max properties.
Disable any date in the DatePicker to show it as an inactive date. Easily prevent weekends and holidays from being selected by disabling them in the pop-up calendar.
Date values are validated within a minimum and maximum range 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.
Update the culture-specific date format and first day of the week, and translate the names of months, days, and today button text to any supported language with the globalization features.
Apart from the standard, built-in themes, the appearance of the component can be customized to suit your application style.
The React DatePicker component allows for full customization of the input element and the calendar. This lets you match it to the design of your application and create a seamless user experience.
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 based on the specified 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.
In addition to the Gregorian DatePicker, the DatePicker component supports displaying the Islamic DatePicker (Hijri DatePicker).
DatePicker component is also available in Blazor, Vue, Angular, and JavaScript frameworks. Check out the different Datepicker platforms from the links below,
The React DatePicker 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 to provide the best experience to your end users.
The React DatePicker supports several built-in themes such as Material, Bootstrap, Fabric (Office 365), Tailwind CSS, 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.
Easily get started with the React DatePicker using a few simple lines of TSX code example as demonstrated below. Also explore our React DatePicker Example that shows you how to render and configure a DatePicker in React.
import * as ReactDOM from 'react-dom';
import * as React from 'react';
import { DatePickerComponent } from '@syncfusion/ej2-react-calendars';
import { SampleBase } from '../common/sample-base';
import './default-style.css';
export class Default extends SampleBase<{}, {}> {
private dateValue: Date = new Date();
render() {
return (
<div className='control-pane'>
<div className='control-section'>
<div className='datepicker-control-section'>
<DatePickerComponent value={this.dateValue}></DatePickerComponent>
</div>
</div>
</div>
)
}
}
Syncfusion React DatePicker provides the following features:
We do not sell the React DatePicker separately. It is only available for purchase as part of the Syncfusion team license. This contains over 1,800 components and frameworks, including the React DatePicker. The price of the team license starts at $395 per month for 5 developers, and includes support and updates until the subscription expires. In addition, we might offer discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.
You can find our React DatePicker demo, which demonstrates how to render and configure the DatePicker.
No, our 1,800+ components and frameworks for web, mobile, and desktop, including our React DatePicker, are not sold individually. They are only available as part of a team license. However, we have competitively priced the product, so it only costs a little bit more than what some other vendors charge for their DatePicker component alone. We have also found that, in our experience, our customers usually start off using one of our products and then expand to several products quickly, so we felt it was best to offer all 1,800+ components and frameworks for a subscription fee that starts at $395 per month for a team of 5 developers. Additionally, we might be able to offer discounts based on currently active promotions. Please contact our product specialists today to see if you qualify for any additional discounts.
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, 5 or fewer developers, and 10 or fewer total employees.
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.