Syncfusion Feedback

Trusted by the world’s leading companies

Syncfusion Trusted Companies

Overview

The React Calendar component is used for displaying dates and interacting with them. It features month, year, and decade navigation options for fast date selection. The component includes support for minimum and maximum date restrictions, as well as the ability to disable specific dates, enhancing its adaptability for various application needs.


React Calendar code example

Get started with the React Calendar using a few simple lines of TSX code, as demonstrated below. Also, explore our React Calendar example, which shows you how to render and configure the Calendar component in React.

import { Calendar } from '@syncfusion/react-calendars';

export default function App() {
    return (
        <div className="component-section">
            <Calendar/>          
        </div>
    );
}

Controlled mode

The Calendar component supports both controlled and uncontrolled modes. The controlled mode provides full control over updating and displaying values, typically via props such as value and onChange, for easier integration with forms. The uncontrolled mode manages its own internal state for the selected date. It is simpler to use, requires less code, and is initialized with a defaultValue prop, making it best for basic date input.


Efficient month and year selection

The React Calendar allows users to choose only a month or a year for when a precise date isn’t required. This functionality streamlines input, allowing the component to act as a month or year picker.

Month year picker in React Calendar


Date selection within a range in React Calendar

Constraining date selection

When you set minimum and maximum date values, the component ensures that only values within this specific interval are valid.


Calendar toolbar

Configure buttons for navigation, viewing changes, or custom actions in the toolbar. The toolbar supports both horizontal and vertical orientations.

React Calendar toolbar


Multiple date selection in React Calendar.

Multiple date selection

The React Calendar can be configured to enable the selection of multiple dates, which is helpful in scheduling and event management applications that require more than a single date input.


Displaying week numbers

Show week numbers alongside the date display to identify the week of the year for any selected date.

Week number in React Calendar


First day in React Calendar

First day of week

Control which day is displayed as the start of the week in the calendar UI. This is useful for adapting the calendar to different regional or organizational preferences.


Custom rendering of calendar cells

Achieve unique visual presentations by customizing individual date cells within the React Calendar. This feature allows custom styles, content, or interactivity based on specific date properties, such as holidays and events.

Custom rendering in React Calendar


Internationalization in React Calendar

Internationalization and localization

The React Calendar offers extensive internationalization capabilities, enabling adherence to various cultural date formats and the setting of the first day of the week according to regional preferences. Text elements, including month, day, and navigation controls, can be localized for use in many languages.


Accessibility

React Calendar Keyboard image

Keyboard navigation

The Calendar component ensures that every cell is accessible using the keyboard. Core features, such as selection and navigation, can be performed solely with keyboard commands, eliminating the need for mouse interaction. This promotes the creation of highly accessible applications.

React Calendar Screen Reader image

Screen readers and accessibility

The React Calendar view is compliant with WAI-ARIA accessibility standards. Its UI incorporates high-contrast visual elements, optimizing the viewing experience for users with low vision. Furthermore, accurate UI descriptions are readily available for assistive technologies like screen readers.

React Calendar Rtl image

Right-to-left (RTL) display

Right-to-left rendering allows the Calendar’s text and layout to be displayed from right to left. This enhances the user experience and accessibility for individuals working with RTL languages, such as Hebrew and Arabic.




Other Supported Frameworks

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

Pure React Components

Developed using React’s core principles, this library employs functional components and hooks without any external dependencies.

Frequently Asked Questions

The Syncfusion React Calendar provides the following:

You can find our React Calendar demo here. It 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 cellTemplate event to customize individual date cells. In this event, you can disable dates conditionally (e.g., weekends), 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. Users cannot select 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.

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.

Read Our Customer Stories


Rated by users across the globe

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

Syncfusion React Calendar resources

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