docs/docs/en/interface-builder/blocks/data-blocks/calendar.md
The Calendar block provides an intuitive calendar view to display events and date-related data. It is suitable for typical scenarios such as meeting scheduling and activity planning.
This block is a built-in plugin and does not require additional installation.
After selecting the "Calendar" block and choosing a data table, configure the fields used by calendar events in the popup:
After completing the configuration, you can create the Calendar block.
Used to display the title information on calendar event bars.
Currently supported field types include input, select, phone, email, radioGroup, sequence, etc. Additional types can be supported via plugin extensions.
Specifies the start time of an event.
Specifies the end time of an event. This field is optional. If it is not configured, events are displayed as all-day events based on the start date.
Click on an empty date area in the calendar to quickly open a pop-up for creating an event.
When clicking on an existing event:
When enabled, the calendar will display corresponding lunar date information.
Used to restrict the data displayed in the calendar block.
For more details, see: Set Data Scope
Allows customization of the calendar block height to avoid internal scrollbars and improve layout experience.
For more details, see: Block Height
Used to configure the background color of calendar events for better visual distinction.
Steps:
Supports setting the first day of the week:
This can be adjusted based on regional preferences for a more natural calendar experience.
Click the "Today" button to quickly navigate back to the current date in the calendar view.
Switch between dates based on the current view mode:
Supports switching between:
Displays the current date based on the selected view.