---
sourceDocument: Brazil Build or modify applications
sourceDocumentLink: https://www.servicenow.com/docs/r/application-development

 Release :

    - brazil

ft:locale :

    - en-US

ft:publication_title :

    - Brazil Build or modify applications

ft:clusterId :

    - cadev

bundleId :

    - cadev

workflow :

    - Development, Data, and Analytics


---

# Mini Calendar component setup

# Mini Calendar component setup {#ariaid-title1}

Release version: Brazil  
Updated September 10, 2026  
![](https://www.servicenow.com/docs/portal-asset/ico-clock) 3 minutes to read  
The Mini Calendar component is used for calendars in which a user must select a specific date and time. Examples might be a date range, a calendar month or day view, or an appointment
date.

## Before you begin

This task assumes you have placed the component on the page and are ready to configure the properties and events. For instructions on accessing and using features in UI Builder, see [Customize UI Builder pages using components](https://www.servicenow.com/docs/YMtTz79hYjmj5_kMcObIuA "Learn what a component is in UI Builder. Also, see how components work within UI Builder.").  
Note:  
This document describes the latest component functionality. Go to the store to make sure you have the latest version of the component.

Role required: admin or ui_builder_admin

## Procedure

1. Define a label for Mini Calendar that differentiates it from other components in the content tree.  
   A descriptive label makes finding the component easier in a large list of components. For instructions on using the content tree, see [Manage UI pages and page variants](https://www.servicenow.com/docs/Hq7OFdFRjvDFnNsfdtsMGw "Learn what a page is in UI Builder. Understand the building blocks of a UI Builder page, such as column layouts and components.") .  

   ![Shows the mini calendar component in the UI Builder content tree]()  
2. Select the Mini Calendar component using one of these methods:
   * Click anywhere within the component on the page.
   * Select the label you created for your component in the content tree.

   {#mini-calendar-component-uib-setup__choices_mck_wr5_25b}  
   The configuration options appear in the panel on the right.  

   <br />

{#mini-calendar-component-uib-setup__steps_lck_wr5_25b}

## Mini Calendar component properties {#ariaid-title2}

Configure the basic format for the Mini Calendar component and what features are displayed. This includes the optional time field.
To configure the properties, enter either static or dynamic input. Enter dynamic input by selecting the input type.

* Data binding: Enables you to create dynamic property values derived from multiple sources, such as state variables (@state) in the page, URL variables (@context), or payloads from a data resource (@data). For details, see [Add and configure data resources to a
  page](https://www.servicenow.com/docs/~B53KgSqh6jyRj9wmzg8LA "Add data resources to dynamically expose data from tables, records, or other elements on your page in UI Builder.") .
* Scripting: Creates a scripted property value. For details on scripted values, see [Create and bind a client state parameter to a component](https://www.servicenow.com/docs/JxkxcsWDJlkywLr4rc~p8A "Create and bind a client state parameter value to a component in UI Builder. By adding custom values to your components, these components can then be automatically updated through a script.") .
{#mini-calendar-config-properties__choices_kdn_zt5_25b}  
{#mini-calendar-config-properties__table_ldn_zt5_25b__entry__2}

| Label \[property\] | Description |
|-|-|
| Autofocus \[autofocus\] | Configures component to receive focus on mounting when set to true. Default: false |
| Description \[description\] | Additional content describing the field. Use this content to provide further instructions to the user. |
| First Day of Week \[firstDayOfWeek\] | Day of the week on which the calendar starts. Possible values are: * Sunday=0 * Monday=1 * Tuesday=2 * Wednesday=3 * Thursday=4 * Friday=5 * Saturday=6 {#mini-calendar-config-properties__ul_u5h_cx5_25b} |
| Format \[format\] | Format describing how to format the date/time values. By default it is YYYY-MM-DD or YYYY-MM-DD hh:mm:ss, depending on whether you are showing a time picker. |
| Invalid \[invalid\] | Specifies whether the current value is not valid. |
| Label \[label\] | A label for the calendar. |
| Language \[language\] | User's preferred language. Default: en |
| Messages \[messages\] | Array of message objects that must contain the message and message type. |
| Name \[name\] | Name for the calendar. Any events dispatched by the calendar use this name. |
| ReadOnly \[readOnly\] | Specifies that the user cannot modify the value of the calendar. Default: false |
| Required \[required\] | Specifies if the user is required to supply a value for this calendar. Default: false |
| Reversed \[reversed\] | Specifies that the field should be rendered from right-to-left. Default: false |
| Show 'Ok' Button \[onOk\] | Specifies whether or not to show the Ok button. Default: false |
| Show 'Cancel' Button \[onCancel\] | Specifies whether or not to show the Cancel button. Default: false |
| Show Time Picker \[timePicker\] | Specifies whether or not to show the time picker, in addition to the calendar. Default: false |
| Value \[value\] | Underlying data for the component. |
[ ]

{#mini-calendar-config-properties__table_ldn_zt5_25b}

## Mini Calendar component events {#ariaid-title3}

Select event handlers to configure the events provided with the Mini Calendar component. Event handlers work with data resources to link the Mini Calendar actions to the data you want to display to your users.
The Events tab shows the events used by the Mini Calendar component. To view the available events, select + Add event mapping. Select the event in the list to add one or more event handlers.

### Event handlers {#mini-calendar-config-events__section_wmt_11v_25b}

Event handlers work with data resources to link the Mini Calendar actions to the data you want to display to your users. Select the event in the list to add one or more event handlers.

For instructions on adding event handlers to an event, see [Configure an event handler](https://www.servicenow.com/docs/8s23OEG1s5oowl~vaOUlLw "Add an event handler to a page, component, data resource, or declarative action within UI Builder so that your user can trigger an action.").

### Event descriptions {#mini-calendar-config-events__section_xmt_11v_25b}

{#mini-calendar-config-events__table_z3k_pgw_c5b__entry__2}

| Event | Description |
|-|-|
| On Ok Click | The user selects the Ok button. Payload: * `name` * `event` {#mini-calendar-config-events__ul_axr_qxd_g5b} |
| On Cancel Click | The user selects the Cancel button. Payload: * `name` * `event` {#mini-calendar-config-events__ul_cyb_vxd_g5b} |
| OnValueChange | The user selects a new value on the calendar. Payload includes: `value` |
[ ]

{#mini-calendar-config-events__table_z3k_pgw_c5b}

