# Calendar picker

The calendar picker is a user interface component that lets users select a specific date, which is then submitted to your backend in [ISO format](https://en.wikipedia.org/wiki/ISO_8601).

<figure><img src="/files/iCfZmaKKgw1WC2U0Qa4u" alt=""><figcaption></figcaption></figure>

## 👉 **The Tags**

**📍 Where to add the tag?** A rectangle laye&#x72;**.**

To incorporate a calendar into your app, choose the appropriate tag based on your needs:

**Select one day**

For allowing users to select a single date, use the `single` tag:

```
[component:input-calendar:single]
```

**Select multiple non-consecutive dates**

To enable selection of **multiple non-consecutive dates**, utilise the `multiple` tag:

```
[component:input-calendar:multiple]
```

**Range**

To select a range of dates including start and end dates, use the following syntax:

```
[component:input-calendar:range]
```

<figure><img src="/files/qb0DbgCScPn2tDj1Ehv8" alt=""><figcaption></figcaption></figure>

## ️:paintbrush: Calendar styling

**Add a specific text color**

```
[style:color:<color>]
```

**Add a color to the active text**

```
[style:active-text-color:<color>]
```

**Add a color to the selected date**

```
[style:active-color:<color>]
```

**Add a background color**

```
[style:bg-color:<color>]
```

<figure><img src="/files/TN3YNfzhB2P0EOwGKfCK" alt=""><figcaption></figcaption></figure>

## 🏷️ **How to add the tag**

1. Choose the type of calendar you'd like to use.
2. Paste the tag into the layer name of a rectangle shape.
3. Add a styling tag of your preference.
4. Ensure you include the `[action:submit]` tag, which triggers the action to transmit the data to your backend.
5. [Preview your app on **Bravo Vision**](/get-started/bravo-vision-previewer.md#how-to-use-bravo-vision)**.** 🚀

## 💾 Example files

Duplicate the files below to see how to set it up!

{% embed url="<https://www.figma.com/community/file/1372181468157618589>" %}

Your feedback is valuable to us. If you have any suggestions or questions, please don't hesitate to reach out to us in the [community](https://community.bravostudio.app/home).


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.bravostudio.app/bravo-tags/form-and-input-fields/calendar-picker.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
