# Calendar

The calendar component allows a user to view and create events in a day, week or month view. See the Full Calendar docs (opens new window) for more information.

# Importing

For code splitting optimizations, Calendar is exported separately and must be imported as shown here:

import { CiCalendar } from '@ci/stratus-components/build/calendar'

# Demo

# Calendar height and default scroll position

It is possible to make the calendar scrollable by using the default-scroll-position prop combined with the calendar-height prop.

default-scroll-position accepts calendar view start time string in the 'HH:mm:ss' format. calendar-height accepts height in px. This makes the calendar scrollable and sets its height, timezone selector included, to the given value.

By default calendar height is set to 'auto'.

# Events

Event Payload Description
@navigation { startDate: '...', endDate: '...'} Emitted when prev, next, today, day, week or month buttons are clicked
Last Updated: 8/20/2025, 11:45:42 AM