Skip to content

Color

ColorField

ColorField allows you to add a color picker.

Parameters:

Name Type Description Default
name BlockId

A name.

required
help_ str | None

A help text. Defaults to None.

None
initial str | None

An initial value. Defaults to None.

None
label str | None

A label. Defaults to None.

None
required bool | None

Whether it's required or not. Defaults to None.

None
validation str | None

A formkit validation in addition to required. Defaults to None.

None
ar.ColorField("color")