@fullcalendar/daygrid
Display events on a month view or "day grid" view
🌟 Show real-time usage chart on @fullcalendar/daygrid's README.md, just copy the code below.## Usage Trend
[](https://npm-compare.com/@fullcalendar/daygrid#timeRange=THREE_YEARS)
🌟 Show GitHub stars trend chart on @fullcalendar/daygrid's README.md, just copy the code below.## GitHub Stars Trend
[](https://npm-compare.com/@fullcalendar/daygrid)
FullCalendar Day Grid Plugin
Display events on a month view or "day grid" view
Installation
Install the necessary packages:
npm install @fullcalendar/core @fullcalendar/daygrid
Usage
Instantiate a Calendar with the necessary plugin:
import { Calendar } from '@fullcalendar/core'
import dayGridPlugin from '@fullcalendar/daygrid'
const calendarEl = document.getElementById('calendar')
const calendar = new Calendar(calendarEl, {
plugins: [dayGridPlugin],
initialView: 'dayGridMonth',
events: [
{ title: 'Meeting', start: new Date() }
]
})
calendar.render()