Add a Number property to your component so designers can input numeric values.
Define the Number prop in your Webflow code component with a name. Optionally, you can add a group, tooltip text, and a default value, as well as numeric constraints like min, max, and decimals.
name: The name for the property.group: The group for this property. (optional)tooltip: The tooltip for the property. (optional)defaultValue: Default value for all component instances. (optional)min: Minimum value allowed. (optional)max: Maximum value allowed. (optional)decimals: Maximum number of decimal places. (optional)The Number prop provides a numeric value to your React component.
n/a
Use a Number prop when you want designers to: