Home FullCalendar Reactjs FullCalendar List View Working Example

Reactjs FullCalendar List View Working Example

by therichpost
Reactjs FullCalendar List View Working Example

Hello friends, welcome back to my blog. Today in this blog post, I am going to show you, Reactjs FullCalendar List View Working Example.

React Full Calendar List View

For reactjs new comers, please check the below link:

Reactjs Basic Tutorials

Friends here is the working code snippet for Reactjs FullCalendar List View Working Example and please use this code snippet carefully to avoid the mistakes:

1. Firstly friends we need fresh reactjs setup and for that we need to run below commands into our terminal and also w should have latest node version installed on our system:

npx create-react-app therichpost

cd therichpost

npm start


2. Now we need to run below commands to get full calendar and related plugins modules into our react js app:

npm install --save @fullcalendar/react @fullcalendar/daygrid

npm i @fullcalendar/interaction

npm i @fullcalendar/list // For List View

npm start //start the application


3. Finally friends we need to add below code into our src/App.js file to get final output on web browser:

import React from 'react';
import './App.css';

//Fullcalendar and Realted Plugins
import FullCalendar from '@fullcalendar/react'
import dayGridPlugin from '@fullcalendar/daygrid'
import interactionPlugin from "@fullcalendar/interaction"; // needed
import listPlugin from '@fullcalendar/list'; //For List View

class App extends React.Component {
  render() {
    return (
<div className="maincontainer">
        plugins={[ dayGridPlugin, interactionPlugin, listPlugin ]}
          left: 'prev,next today',
          center: 'title',
          right: 'dayGridMonth,dayGridWeek,dayGridDay,listWeek'
          { title: 'event 1', date: '2020-08-13' },
          { title: 'event 2', date: '2020-08-15' },
          { title: 'event 2', date: '2020-08-15' },
          { title: 'event 2', date: '2020-08-15' },
          { title: 'event 2', date: '2020-08-15' },
          { title: 'event 2', date: '2020-08-15' },
          { title: 'event 2', date: '2020-08-15' }


export default App;


Now we are done friends. If you have any kind of query or suggestion or any requirement then feel free to comment below.

Note: Friends, I just tell the basic setup and things, you can change the code according to your requirements. For better understanding must watch video above.
I will appreciate that if you will tell your views for this post.Nothing matters if your views will good or bad.



You may also like


Muskan jain October 20, 2020 - 10:45 am

hi, can u plz post about the app.css for the calendar so that we can learn about the color styling and the positioning of the calendar as well

Ajay Malhotra October 20, 2020 - 4:11 pm

This is default layout, no need to add additional css.

Chenna November 3, 2020 - 11:32 am

is it possible to add event onclick of date

Ajay Malhotra November 3, 2020 - 2:34 pm


steiner April 21, 2021 - 12:41 pm

are you able to add events using the website and not in the code?
Or we need to create that functionality?

Ajay Malhotra April 21, 2021 - 2:40 pm

I will make new post on it soon.

Nishikant May 11, 2021 - 11:56 am

I want to trigger a function based on previous/next month click, is it possible?

Ajay Malhotra May 11, 2021 - 11:58 am


Hamza Ayub May 19, 2021 - 3:01 pm

Hi, Data is coming From backend, How I can Put Data in Events, kindly send me some link, or suggestion

Siva July 27, 2022 - 6:51 am

Useful document, and I have small doubt about the initial view

I want intial view for large screen “dayGridMonth” and small screen i want to show “listWeek”
Is this possible in react hooks can you please explain me

therichpost July 27, 2022 - 8:19 am

yes sure, thanks.


Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.