Number

A numeric input field with optional minimum, maximum, and step constraints. Also supports prefix/suffix labels.


When to use

  • Quantity of a sub-component (e.g., “Number of candles”)
  • Ring size, shoe width, or other numeric measurements
  • Custom dimensions where a typed number is more practical than a slider

For a draggable slider experience, use Range Slider instead.


General settings

SettingDescription
LabelField label
RequiredMust be filled before add to cart
Help textGuidance below the field
PlaceholderHint text inside the input
Default valuePre-filled numeric value
MinMinimum value allowed (inclusive)
MaxMaximum value allowed (inclusive)
PrefixDisplay text before the input (e.g., $)
SuffixDisplay text after the input (e.g., cm, lbs)

Number Input settings showing Label, Required field, Hidden label, Min, Max, Prefix, and Suffix

Scroll down in the same settings panel for Placeholder, Default value, Help text, and the Layout section:

Number Input settings scrolled to show Placeholder, Default value, Help text, and Layout


Storefront behavior

  • Displays as a number field with up/down arrows the customer can click.
  • Validation runs when the customer moves away from the field, and again when they click Add to Cart.
  • Prefix and suffix are displayed inline but not submitted as part of the value
  • The number the customer enters is recorded on the order.