Skip to main content
More in Learn

Numeric Component

With the numeric component, you can describe a numeric value with a specific number of decimals and a unit.

Numeric Component Usage

When adding this component to a shape or piece, specify a name (required) and description (optional) indicative of the sort of content you wish for it to contain. This description will be visible to those who build content based off of this shape. Optionally, you can also specify one or more units, as well as the number of decimals the number must have.

This component is not translatable, meaning that the same value/units will be stored for all translations. It’s best to use non-translatable fields for data that will be the same regardless of language (like model numbers, for instance).

Numeric component on shape

When an editorial user adds content to this component, numeric values and decimal precision (if specified) will be enforced. If multiple units were specified, there will be a drop-down menu allowing selection of the appropriate unit; one of them must be selected.

Edit numeric component

Catalogue API Access

Once created, numeric components and their content are accessible via the Catalogue API. Refer to our sample query for retrieving numeric component content, and to the API docs at https://api.crystallize.com/your-tenant-identifier/catalogue for more information.

People showing thumbs up

Need further assistance?

Ask the Crystallize team or other enthusiasts in our slack community.

Join our slack community