> For the complete documentation index, see [llms.txt](https://docs.bravostudio.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.bravostudio.app/bravo-tags/form-and-input-fields/calendar-picker.md).

# 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="https://1444025092-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXpqEanvOhm8vMtIH8i%2Fuploads%2FiWAOfMvBjhQNq2G4jgik%2FScreen-Recording-2024-05-14-at-15.16.49.gif?alt=media&amp;token=84c7a99b-dcea-46d6-b302-76a1ff64ac63" 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="https://1444025092-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXpqEanvOhm8vMtIH8i%2Fuploads%2Fl9sg2XyBhnfBljq9hx8o%2FCalendar%20Picker%20(1).jpg?alt=media&amp;token=d157b7ab-ad87-4289-8293-ae8009fe9214" 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="https://1444025092-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MXpqEanvOhm8vMtIH8i%2Fuploads%2FLQJsDokBizlflSm1K0ZN%2FCalendar%20Picker.jpg?alt=media&amp;token=2f387f86-2402-4b1d-89a7-afbb997897a9" 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
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

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

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

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

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
