Slider JSON Form

Adjust a bounded numeric value with a slider.

How this example works

Slider requires a number or integer without enum. x-widget-options accepts finite min, max, and positive step with min < max; integer sliders require integer bounds and step. Defaults come from minimum (or 0), maximum (or 100), and multipleOf (or 1). This example explicitly uses 0 to 1 in steps of 0.1 and submits a number. Reset restores 0.5.

Read the supported schema guide

Slider example

Opacity
0.5

Current value: 0.5

Submitted JSON

Submit the form to see its JSON.