When to use it
Use for an approximate or continuously adjustable numeric value. Prefer TextField or Picker when exact entry is more important.
Adjust a continuous or stepped numeric value with a visible formatted label.
Native example
Use for an approximate or continuously adjustable numeric value. Prefer TextField or Picker when exact entry is more important.
<LumenSlider
label="Minimum speed"
value={minimumSpeed}
min={1_000}
max={5_000}
step={100}
valueLabel={String(minimumSpeed) + ' RPM'}
onValueChange={setMinimumSpeed}
/>Reference
The primary shared and platform-specific options exposed by LumenSlider.
| API | Values or type | Default | Description |
|---|---|---|---|
| value | number | Required | Stores the current numeric value. |
| min / max | number | Required | Defines the valid range. |
| step | number | 1% of range | Adds valid stepped increments when positive and finite. |
| valueLabel | string | String(value) | Shows a formatted current value. |
Native behavior
Use for an approximate or continuously adjustable numeric value. Prefer TextField or Picker when exact entry is more important.
The native slider reports its label and current value. A visible formatted value helps people understand the current setting.
Shared component