Skip to content
+

Event Calendar - Views

Configure available views including week, day, month, and agenda, and control the default view.

All views

Week view

The week view lets users manage events for an entire week.

Alice's Birthday

Morning Run

Team Meeting

Gym Class

Yoga

1-on-1 with Sarah

Code Review

4th of July BBQ

Use the viewConfig prop to limit the hours displayed in the time grid with startTime and endTime:

Alice's Birthday

Team Meeting

Gym Class

1-on-1 with Sarah

Code Review

4th of July BBQ

By default, the time grid scrolls to 7 AM when it mounts (or to startTime when 7 AM isn't a displayed hour). Use initialScrollTime to scroll to a different hour. Navigating to another week keeps the current scroll position; switching to another view and back scrolls again.

Alice's Birthday

Morning Run

Team Meeting

Gym Class

Yoga

1-on-1 with Sarah

Code Review

4th of July BBQ

Use timeGridEvents to choose which timed events are rendered in the time grid. The other events, including all-day events, are rendered in the day grid above it:

  • 'shorter-than-one-day' (default): timed events shorter than one day, split across the days they cover.
  • 'same-day-only': timed events that start and end on the same day.

Line maintenance

Morning shift

Evening shift

Night shift

Night shift

Late shift

Day view

The day view lets users manage events for a single day.

Gym Class

The viewConfig prop also limits the hours displayed in the day view with startTime and endTime:

Gym Class

By default, the time grid scrolls to 7 AM when it mounts (or to startTime when 7 AM isn't a displayed hour). Use initialScrollTime to scroll to a different hour. Navigating to another day keeps the current scroll position; switching to another view and back scrolls again.

Yoga

1-on-1 with Sarah

The timeGridEvents option also sets which timed events are rendered in the time grid of the day view:

Morning shift

Evening shift

Night shift

Month view

The month view lets users manage events for an entire month.

Sun
Mon
Tue
Wed
Thu
Fri
Sat

Morning Run

Team Meeting

Gym Class

Yoga

1-on-1 with Sarah

Alice's Birthday

Code Review

4th of July BBQ

Long Run

Morning Run

Sprint Planning

Client Call

Design Review

Gym Class

Happy Hour

Haircut

Team Meeting

Yoga

1-on-1 with James

Lunch with Colleague

Dentist

Client Call

Dinner with Friends

Morning Run

All-hands Meeting

Gym Class

Roadmap Planning

Client Call

Grocery Shopping

Game Night

Brunch with Parents

Morning Run

Team Meeting

Performance Review

Movie Night

Gym Class

Wrap-up Meeting

Packing for Vacation

Agenda view

The agenda view lets users manage events in a list layout.

1
TuesdayJuly 2025
  • Gym Class

2
WednesdayJuly 2025
  • Yoga

  • 1-on-1 with Sarah

3
ThursdayJuly 2025
  • Ends Jul 4Alice's Birthday

  • Code Review

4
FridayJuly 2025
  • Ends Jul 4Alice's Birthday

  • 4th of July BBQ

5
SaturdayJuly 2025
    6
    SundayJuly 2025
    • Long Run

    7
    MondayJuly 2025
    • Morning Run

    • Sprint Planning

    8
    TuesdayJuly 2025
    • Client Call

    9
    WednesdayJuly 2025
    • Design Review

    10
    ThursdayJuly 2025
    • Gym Class

    11
    FridayJuly 2025
    • Happy Hour

    12
    SaturdayJuly 2025
    • Haircut

    The agenda displays 12 days at a time by default, and the navigation moves by the same amount. Use the viewConfig prop to change it with dayCount, either to another number of days or to 'month' to display the month of the visible date and navigate one month at a time:

    1
    TuesdayJuly 2025
    • Gym Class

    2
    WednesdayJuly 2025
    • Yoga

    • 1-on-1 with Sarah

    3
    ThursdayJuly 2025
    • Ends Jul 4Alice's Birthday

    • Code Review

    4
    FridayJuly 2025
    • Ends Jul 4Alice's Birthday

    • 4th of July BBQ

    5
    SaturdayJuly 2025
      6
      SundayJuly 2025
      • Long Run

      7
      MondayJuly 2025
      • Morning Run

      • Sprint Planning

      8
      TuesdayJuly 2025
      • Client Call

      9
      WednesdayJuly 2025
      • Design Review

      10
      ThursdayJuly 2025
      • Gym Class

      11
      FridayJuly 2025
      • Happy Hour

      12
      SaturdayJuly 2025
      • Haircut

      13
      SundayJuly 2025
        14
        MondayJuly 2025
        • Team Meeting

        15
        TuesdayJuly 2025
        • Yoga

        • 1-on-1 with James

        16
        WednesdayJuly 2025
        • Lunch with Colleague

        17
        ThursdayJuly 2025
        • Dentist

        18
        FridayJuly 2025
        • Client Call

        19
        SaturdayJuly 2025
        • Dinner with Friends

        20
        SundayJuly 2025
          21
          MondayJuly 2025
          • Morning Run

          • All-hands Meeting

          22
          TuesdayJuly 2025
          • Gym Class

          23
          WednesdayJuly 2025
          • Roadmap Planning

          24
          ThursdayJuly 2025
          • Client Call

          25
          FridayJuly 2025
            26
            SaturdayJuly 2025
            • Grocery Shopping

            • Game Night

            27
            SundayJuly 2025
            • Brunch with Parents

            28
            MondayJuly 2025
            • Morning Run

            • Team Meeting

            29
            TuesdayJuly 2025
            • Performance Review

            30
            WednesdayJuly 2025
            • Movie Night

            31
            ThursdayJuly 2025
            • Gym Class

            When the empty days are hidden, the 'month' mode only lists the days of that month that have events, instead of continuing into the next month.

            Year view 🚧

            With this feature, users would be able to view and manage events across an entire year.

            Resource views 🚧

            With this feature, users would be able to view events grouped by resource in a dedicated view.

            Limit available views

            Use the views prop to define which views can be accessed in the Event Calendar:

            <EventCalendar views={['week', 'month']} />
            

            July 2025

            Sun29
            Mon30
            Tue1
            Wed2
            Thu3
            Fri4
            Sat5

            Alice's Birthday

            Morning Run

            Team Meeting

            Gym Class

            Yoga

            1-on-1 with Sarah

            Code Review

            4th of July BBQ

            Default view

            Use the defaultView prop to initialize the view:

            <EventCalendar defaultView="agenda" />
            

            July 2025

            1
            TuesdayJuly 2025
            • Gym Class

            2
            WednesdayJuly 2025
            • Yoga

            • 1-on-1 with Sarah

            3
            ThursdayJuly 2025
            • Ends Jul 4Alice's Birthday

            • Code Review

            4
            FridayJuly 2025
            • Ends Jul 4Alice's Birthday

            • 4th of July BBQ

            5
            SaturdayJuly 2025
              6
              SundayJuly 2025
              • Long Run

              7
              MondayJuly 2025
              • Morning Run

              • Sprint Planning

              8
              TuesdayJuly 2025
              • Client Call

              9
              WednesdayJuly 2025
              • Design Review

              10
              ThursdayJuly 2025
              • Gym Class

              11
              FridayJuly 2025
              • Happy Hour

              12
              SaturdayJuly 2025
              • Haircut