Slider

Applies to notification sounds.

<.slider
  id="slider-single-default"
  label="Volume"
  name="volume"
  value={50}
  description="Applies to notification sounds."
 />
75%
<.slider
  id="slider-single-min-max"
  label="Brightness"
  max={100}
  min={0}
  name="brightness"
  value={75}
  show_value
  value_suffix="%"
 />
3
<.slider
  id="slider-single-stepped"
  label="Rating (1-5)"
  max={5}
  min={1}
  name="rating"
  value={3}
  step={1}
  show_value
 />

Keep the threshold below 90 for this plan.

<.slider
  id="slider-single-with-error"
  label="Alert threshold"
  max={100}
  min={0}
  name="threshold"
  value={95}
  description="Keep the threshold below 90 for this plan."
  errors={["must be 90 or lower"]}
 />

Disabled sliders keep their current value visible.

<.slider
  disabled
  id="slider-single-disabled"
  label="Locked quota"
  max={100}
  min={0}
  name="locked_quota"
  value={40}
  description="Disabled sliders keep their current value visible."
 />
<.slider id="slider-single-no-label" name="opacity" value={80} />