Color

Use the color field to select a color using the browser’s color picker.

Example

{
  type: "color",
  value: "#0066ff",
  label: "Color",
}

Options

Input

Use these options when using the field with take.

value?
string
The initial value of the field.
key?
string
A key to access the value. If provided, each field must have a unique key. See make for more information about accessing values.
label?
string
A label describing the purpose of the field.
detail?
string
Additional information about the field, disclosed in a tooltip.
required?
boolean
Whether or not this field is required.

Output

Use these options when using the field with make.

value?
string
The output value of the field.
label?
string
A label describing the purpose of the field.
detail?
string
Additional information about the field, disclosed in a tooltip.
required?
boolean
Whether or not this field is required.