> ## Documentation Index
> Fetch the complete documentation index at: https://docs.quick.bot/llms.txt
> Use this file to discover all available pages before exploring further.

# Number

The Number user block allows you to ask your user for numerical input with built-in validation and
formatting controls. It provides a specialized input field that ensures only valid numbers are
accepted.

<Tabs>
  <Tab title="Flow">
    <Frame style={{ maxWidth: '400px' }}>
      <img src="https://mintcdn.com/urbiport-eca888d8/-ARXSrILxIB7whJw/images/builder/blocks/user/number.png?fit=max&auto=format&n=-ARXSrILxIB7whJw&q=85&s=c11934716c183898e18d0f86f963e7b8" alt="Number input in flow builder" className="rounded-lg" width="1322" height="772" data-path="images/builder/blocks/user/number.png" />
    </Frame>
  </Tab>

  <Tab title="Bot">
    <Frame style={{ maxWidth: '400px' }}>
      <img src="https://mintcdn.com/urbiport-eca888d8/-ARXSrILxIB7whJw/images/builder/blocks/user/number-viewer.png?fit=max&auto=format&n=-ARXSrILxIB7whJw&q=85&s=91e0fadb54946dccfb43b5f8a2f04794" alt="Number input in bot" className="rounded-lg" width="782" height="964" data-path="images/builder/blocks/user/number-viewer.png" />
    </Frame>
  </Tab>
</Tabs>

## Configuration

* **Placeholder**: Set placeholder text shown in the number input field (supports variables).
* **Button Label**: Customize the text shown on the submit button (supports variables).
* **Min**: Set the lowest acceptable number (supports variables).
* **Max**: Set the highest acceptable number (supports variables).
* **Step**: Define increment/decrement steps for input controls.
* Automatic validation prevents out-of-range submissions.
* **Save Answer**: Choose a variable to store the collected number.

## Integration Examples

### Age Collection

```
Configuration:
- Min: 0, Max: 120, Step: 1
- Placeholder: "Enter your age"
User Input: 25
Saved Variable: 25
```

### Budget Range with Dynamic Limits

```
Configuration:
- Min: {{userProfile.minBudget}}, Max: {{userProfile.maxBudget}}
- Step: 100, Placeholder: "Your budget"
User Input: 5000
Validation: ✓ Within dynamic range
Saved Variable: 5000
```
