A slider sets a number by position. The reader gives up typing and gets a sense of where the value sits between the two ends.
Use it when the position matters more than the exact number: volume, opacity, zoom, or a price filter the reader sweeps while the results change.
Use something else when:
- The exact value matters. An InputNumber can be typed, pasted and read at a glance, as for a budget, a quantity or an age.
- There are a few named steps. Four sizes or three quality levels are options, not a scale. Use Segmented or a Radio group.
- The reader should drag and type. Put a Slider beside an InputNumber and give both the same value and onChange.
- The value is a date or a time (DatePicker), or one of two (Switch).