Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The React Calendar component is used to display the date and days of the week or month. It provides month, year, and decade view options to navigate quickly to the desired date. The React Calendar supports minimum dates, maximum dates, and disabled dates to restrict date selection.


Why choose Syncfusion React Calendar?

React Calendar Interaction image

Easy to interact

The user can be restricted to choosing a date from a predetermined range of dates. Any date in the React Calendar can be disabled to make it inactive.

React Calendar Views image

Calendar views

The React Calendar has predefined views that provide a flexible approach to navigate back and forth when selecting dates.

React Calendar Islamic Calendar image

Islamic calendar

The React Calendar component lets users show the Islamic calendar(Hijri calendar) in addition to the Gregorian calendar.

React Calendar Adaptive image

Adapts to any resolution

Calendar has a highly responsive layout and an optimized design for desktops, touchscreens, and smart phones. It works well on all mobile phones that use iOS, Android, or Windows OS.

React Calendar Themes image

Attractive, customizable themes

Cutting-edge design with several built-in themes, such as Fluent, Tailwind CSS, Bootstrap, Material, and Fabric. Utilize the online Theme Studio tool to customize themes easily.

React Calendar Globalization image

Globalization and localization

With built-in globalization options, a culture-specific date format and the first day of the week can be chosen. The text of the month, day, and today button can be translated to any supported language.


React Calendar Code Example

Easily get started with the React Calendar using a few simple lines of TSX code example as demonstrated below. Also explore our React Calendar Example that shows you how to render and configure a Calendar in React.

import * as ReactDOM from 'react-dom';
import * as React from 'react';
import { CalendarComponent, ChangedEventArgs } from '@syncfusion/ej2-react-calendars';
import { SampleBase } from '../common/sample-base';
import './default-style.css';

export class Default extends SampleBase<{}, {}> {
public onchange(args: ChangedEventArgs): void {
        /*Displays selected date in the label*/
        (document.getElementById('date_label') as HTMLElement).textContent = 'Selected Value: ' + args.value.toLocaleDateString();
}
render() {
return (
    <div className='control-pane'>
        <div className='control-section'>
            <div className='calendar-control-section'>
                <CalendarComponent change={this.onchange} ></CalendarComponent>
                <label id='date_label'>Selected Value:</label>
            </div>
        </div>
    </div>
)}
}

Month or year picker

Select only the month or year as a value (month picker or year picker) in the react calendar picker.

Month Year Picker in React Calendar.


Date selection within a range in React Calendar.

Date selection within a date range

You can restrict the React Calendar component so that only a date value within a specific range of dates can be entered or selected by specifying the minimum and maximum date options.


Multiple date selection

Configure the React Calendar to allow users to select single or multiple date values (sequence or random date selection).

Multiple Date Selection in React Calendar.


First Day of Week in React Calendar.

Change first day of week

Automatically update the first day of the week based on the specified culture or change it based on your application requirements.


Week number

Show the week number of a selected date by enabling the week number option in the React Calendar.

Week Number in react Calendar.


Web Accessibility in React Calendar.

Web accessibility

  • Fully supports WAI-ARIA accessibility guidelines that allow calendars to be accessed by screen readers and assistive devices.
  • Follows WAI-ARIA best practices for implementing keyboard interaction.
  • Uses WCAG 2.0-based design for UI element visuals such as foreground color, background color, line spacing, text, and images.
  • Supports right-to-left (RTL) direction for users working in right-to-left languages like Hebrew and Arabic.

Accessibility

Keyboard navigation in React Calendar.

Keyboard navigation

The React Calendar 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 React Calendar.

Screen reader

The React Calendar view has complete WAI-ARIA accessibility support. The Calendar 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 React Calendar.

Right to left (RTL)

Right-to-left rendering allows displaying the text and layout of the Calendar 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 React components will guide you to the perfect choice.

tick-mark Multiple calendar views
tick-mark 1.7M+ downloads
tick-mark Islamic calendar support
competitive-banner-FT-image

Other Supported Major Frameworks

In addition to React, built-in integration is available for these major frameworks.

Discover Syncfusion’s Complete React Component Ecosystem

Explore over 145+ React UI components featuring established, production-ready controls and the latest pure React components built natively for modern web app development.

  • React Components
  • Pure React Components

Frequently Asked Questions

Syncfusion React Calendar provides the following features:

You can find our React Calendar demo, which demonstrates how to render and configure the Calendar.

Yes, you can control the calendar navigation depth and starting view using the start and depth properties.

Use the renderDayCell event to customize individual date cells. In this event, you can disable dates conditionally (e.g., weekends) using settingargs.isDisabled = true, preventing users from selecting those dates.

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.

Use the value property to set a default selected date. To restrict selectable dates, use the min and max properties to define the minimum and maximum allowed dates. This prevents users from selecting dates outside the specified range.

Use the change event to capture when a user selects a date. The event provides the selected date value, which you can use to update your application state or trigger other actions.

Our Customers Love Us

Having an excellent set of tools and a great support team, Syncfusion® reduces customers’ development time.
Here are some of their experiences.

See Real Success Stories

Developers around the world trust Syncfusion’s Essential Studio to simplify complex projects and speed up delivery. With a vast library of UI controls, powerful SDKs, and reliable support, Essential Studio helps teams build enterprise-ready applications with confidence.

Explore Case Studies


Rated by users across the globe

Transform your applications today by downloading our free evaluation version
Download Free Trial No credit card required.

Awards

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.

Up arrow icon