integer in the schema, labeled Number in Studio) is for mathematical and quantitative data. Prefer it over Text input when you need numeric keyboards, min/max bounds, and clean analytics. For stepping UI, use Number stepper. For money, use Currency.
Business Use Cases
Age Gates
Ask for a user’s age and strictly enforce a minimum limit (e.g., must be > 18).
Financial Inputs
Collect salary expectations or donation amounts using float (decimal) steps.
Inventory Quantities
Use the built-in stepper buttons (
+ and -) to let users quickly adjust order quantities.Configuration & Usage
1
Deploy to Canvas
Drag the Number block from the Component Catalog onto the Canvas.
2
Configure Boundaries
Define the Minimum and Maximum values. For example, if you are asking for “Age”, set the minimum to
18 to legally restrict submissions.3
Allow decimals (optional)
By default Number accepts whole numbers only. Enable Allow decimals when you need fractional values (e.g. weight). Adjust Step if you use a stepper UI.
Technical Configuration Schemas
- Visuals & UI
- Mathematical Boundaries
Data Payload Architecture
The Number block guarantees that the data saved is a true programmatic number type, not a string masquerading as a number. This is crucial for APIs that expect strict types.Deep Dive: When NOT to use the Number Block
It is a common mistake to use the Number block for things that look like numbers but are actually identifiers. Do NOT use the Number block for:- Phone Numbers
- Zip / Postal Codes
- Credit Card Numbers
- Social Security Numbers
The Rule of Thumb: If you would never add, subtract, or multiply the data, it is not a Number. Use a Short Text Block with a Custom Mask instead!
Best Practices & FAQs
Decimals vs Integers
Decimals vs Integers
By default the Number block accepts whole numbers only. Turn on Allow decimals in the block settings when you need fractional values (e.g. weight
12.5). For money amounts, prefer the Currency block instead.Related numeric blocks
- Number stepper —
+/-control for quantities - Currency — money amounts with ISO currency
- Slider — single-value track
- Flex slider — pill rail, optional two-handle range
- Price range · Traffic split