Tinacms Developer Docs
Fields

Number Field

An input for storing numeric values

An input field for storing numeric values (integers or floats).

Usage

{
  type: 'number',
  name: 'count',
  label: 'Count',
}

Options

PropertyTypeDescription
type'number'Required.
namestringField identifier.
labelstringDisplay label in the editor.
listbooleanStore multiple values as an array.

Type Signature

interface NumberField {
  type: 'number'
  name: string
  label?: string
  list?: boolean
}

On this page