Skip to main content
A slider picks a number between a minimum and a maximum. The callback fires as it moves.
A slider set within its range

Properties

name
string
The label.
description
string
Hint text under the label. Optional.
icon
string | number
An icon shown beside the label. Optional.
range
{ number }
The bounds, as { min, max }.
increment
number
The step the slider snaps to.
value
number
default:"min"
The initial value.
suffix
string
A unit shown after the number.
minimal
boolean
default:"false"
Show the track only, with no label. For dense rows.
flag
string
default:"name"
The save key. Optional.
forgetState
boolean
default:"false"
Skip saving.
callback
function
Runs with the new value as the slider moves.

Handle

.value
number
The current value.
Set(value, skipCallback?)
Set the value. Pass true as the second argument to skip the callback.