> For the complete documentation index, see [llms.txt](https://docs.avonnicomponents.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.avonnicomponents.com/flow/flow-components/input-time-range.md).

# Input Time Range

The **Input Time Range** component lets users pick a **start** and **end** time on a Flow screen. It is useful for capturing availability windows, appointment slots, or any interval bounded by two times.

## Overview

Set the initial start and end times, choose how the times are formatted, and customize the labels shown for each field. The selected values are returned to the Flow as output variables.

## Configuration

### Properties

* **Start Time** sets the initial start of the range.
* **End Time** sets the initial end of the range.
* **Variant** controls the label layout: **Standard** or **Label Hidden**.

### Format

* **Time Style** sets how times are displayed: **Short**, **Medium**, or **Long**.
* **Time Step (in Minutes)** sets the step increment of the time inputs, in minutes (default 15, minimum 5).

### Time Labels

* **Start Time** sets the label shown above (or beside) the start field.
* **End Time** sets the label shown above (or beside) the end field.

## Use Cases

* **Availability** — capture the start and end of a time window a user is free.
* **Appointment booking** — collect a requested slot as a bounded time range.
* **Filtering** — let users define a time interval to scope a query or report.

## Interactions

### Change

Triggered when the selected start or end time changes, so a Flow interaction can react to the new range.

## Styling

The Style tab exposes **Margin**, **Padding**, and **Flow Dialog** (spacing and appearance when the component is shown inside a Flow dialog).

## Output Variables

| Output variable | Type | What it returns          |
| --------------- | ---- | ------------------------ |
| **Start Time**  | Time | The selected start time. |
| **End Time**    | Time | The selected end time.   |

### Flow Interaction Output Variables

This component exposes Flow Interaction Output Variables — values surfaced to the interaction that fires on change, so a Flow interaction can read the updated range as it happens.

## Troubleshooting

* **The end time is before the start time** — the component does not enforce ordering; add a Flow validation if start-before-end is required.
* **Labels don't appear** — set **Variant** to **Standard**; **Label Hidden** suppresses the field labels.


---

# 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 dynamically by asking a question.

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

```
GET https://docs.avonnicomponents.com/flow/flow-components/input-time-range.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
