Skip to main content

Color Input

Type: color-input

Color input with optional param sync.

Supports children: No

A color input that can optionally sync string color values with canvas parameters. Hex strings are recommended for chart and CSS interoperability.

Example

{
"type": "color-input",
"props": {
"label": "Highlight color",
"param": "highlight_color",
"defaultValue": "#2563eb"
}
}

Every widget is defined as { "type": "color-input", "props": { ... } }. The properties below describe the props object.

Props

Loading ....

Raw schema

Download the full schema file: /widget-schema/color-input.json