Arlo Design System

Selection and input

Slider

A slider picks a value from a continuous range (Apple: sliders).

Preview
HTML
<div class="col" style="max-width:360px">
<div class="ar-slider-row"><span class="sf" data-symbol="speaker.wave.2"></span><div class="ar-slider"><span class="ar-slider__rail"></span><span class="ar-slider__fill" style="width:62%"></span><span class="ar-slider__thumb" style="left:62%"></span></div></div>
<div class="ar-field"><span class="ar-field__label">Temperature · 0.3</span><div class="ar-slider"><span class="ar-slider__rail"></span><span class="ar-slider__fill" style="width:30%"></span><span class="ar-slider__thumb" style="left:30%"></span></div></div>
</div>

<!-- page-level layout helpers used by this example -->
<style>
body { margin:0; padding:24px; }
.row { display:flex; flex-wrap:wrap; align-items:center; gap:12px; }
.col { display:flex; flex-direction:column; gap:16px; }
.cap { font:500 12px/16px var(--font-sans); letter-spacing:.5px; color:var(--color-text-secondary); }
</style>

Guidelines

  • Rail ar-slider__rail 4px, radius-pill, color-bg-tertiary; fill ar-slider__fill in color-accent from the minimum to the value; thumb 20px white with a soft shadow.
  • Optional min/max SF Symbols at either end (speaker.wave.2) in color-text-secondary, via ar-slider-row.
  • Show the current value in the label when the exact number matters.

The consumer provides: a native <input type="range"> (style its track and thumb with these values), min/max/step, value and label. Don't use a slider for precise numeric entry; pair it with a Stepper or TextField.

Arlo Design System · generated from the design-system source by tools/build.py · SF Symbols are Apple's, licensed for apps on Apple platforms.

Copied