NumberType

Any numeric value the Wix user sets in the editor. Use it for a field that holds a number, such as a rating, a count, or a price.

Component

In your component code, import the NumberType type from @wix/editor-react-types:

Copy

At runtime it's a plain JavaScript number, so your code uses it in arithmetic and formatting directly:

Copy

Usage

Your code either consumes a value of type NumberType or produces one:

Manifest

In your manifest, declare the field with the number dataType:

Copy

Declaration

Declare a number field in one of these ways, depending on where the value comes from:

Last updated: 2 November 2026

Did this help?