Slider

Form

Range input. aria-* arguments reach the input; with aria-valuetext the raw number is not shown beside the track.

Slider(bind: …, min: …, max: …)

Example

state volume = 50 Slider(bind: volume, min: 0, max: 100, step: 5, label: "Volume")

Renders with the class wf-slider, stable across releases, so a stylesheet may target it.

Props of Slider
Prop Type Meaning
bind: State

State variable the control reads and writes (two-way)

min: Number

Lowest value

max: Number

Highest value

step: Number

Granularity

label: String

Visible label; also the control's accessible name

disabled: Bool

Whether the control is inert

Attribute families: global, aria, data, input. Plus the universal props on every element: animate:, exit:, speed:, class:, ref:.