Rendering the Number Field

The Number field allows content writers to enter or select a number. You can set max and min values for the number.

Before Reading

This page assumes that you have retrieved your content and stored it in a variable named document

Get the Number Value

Here's an example of how to access the Number field value. In this case the Number field has the API ID price.

Copy
<h3 className="price">${document.data.price}</h3>