JavaScript MIT

fullcalendar-react

The official React Component for FullCalendar

F

fullcalendar

Dernière activité 18 juin 2026
fullcalendar/fullcalendar-react

2,5 k

étoiles

118

forks

2

issues ouvertes

calendareventfull-sizedfullcalendarreact

Ce README est souvent en anglais.

FullCalendar React Component

The official React Component for FullCalendar

Installation

Install the React connector, the core package, and any plugins (like daygrid):

npm install @fullcalendar/react @fullcalendar/core @fullcalendar/daygrid

Usage

Render a FullCalendar component, supplying options as props:

import FullCalendar from '@fullcalendar/react'
import dayGridPlugin from '@fullcalendar/daygrid'

const events = [
  { title: 'Meeting', start: new Date() }
]

export function DemoApp() {
  return (
    <div>
      <h1>Demo App</h1>
      <FullCalendar
        plugins={[dayGridPlugin]}
        initialView='dayGridMonth'
        weekends={false}
        events={events}
        eventContent={renderEventContent}
      />
    </div>
  )
}

// a custom render function
function renderEventContent(eventInfo) {
  return (
    <>
      <b>{eventInfo.timeText}</b>
      <i>{eventInfo.event.title}</i>
    </>
  )
}

Development

You must install this repo with PNPM:

pnpm install

Available scripts (via pnpm run <script>):

  • build - build production-ready dist files
  • dev - build & watch development dist files
  • test - test headlessly
  • test:dev - test interactively
  • lint
  • clean

Projets similaires

The official Vue 3 component for FullCalendar

JavaScriptcalendareventfull-size
Ffullcalendar
1,6 k étoiles86

Full-sized drag & drop event calendar in JavaScript

TypeScriptcalendareventfull-sized
Ffullcalendar
20,7 k étoiles3,7 k

gcal/outlook like calendar component

JavaScript
Bbigcalendar
8,8 k étoiles2,3 k