RE

React Calendar

react-calendar

Ultimate calendar for your React app.

Utilities
calendar
date
date-picker
month-picker
react
react-calendar
Utilities
javascript
npm
frontend
Stars
3.8k
Weekly
954k
Open issues
20
Bundle
~25 kB

Installation

npm install react-calendar

Code example

import { useCalendar } from "react-calendar";

export function Example() {
  const value = useCalendar();
  return <p>{String(value)}</p>;
}

Pros & cons

Pros

  • Actively maintained by Wojciech Maj
  • 954k weekly downloads. Battle tested
  • First-class TypeScript definitions
  • MIT licensed

Considerations

  • Adds roughly ~25 kB to your bundle
  • Needs client-only rendering in SSR frameworks
  • Not supported in React Native
  • 20 open issues on GitHub

FAQs

Alternatives & similar libraries