Skip to main content

Slider

Type: slider

A slider that can optionally sync with canvas parameters. If param is provided, syncs with that parameter or form; otherwise works as a regular slider.

Supports children: No

A slider that syncs with canvas parameters. Works standalone or nested inside a `form`. Broadcasts value changes on a debounced basis.

Example

{
"type": "slider",
"props": {
"label": "Max price",
"param": "max_price",
"min": 0,
"max": 1000,
"step": 50,
"defaultValue": 500
}
}

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

Props

Loading ....

Raw schema

Download the full schema file: /widget-schema/slider.json