shibro
Show the version of “A range slider shows its values and takes typed numbers”

Advanced inputs · SU-321

A range slider shows its values and takes typed numbers

Flip between the version shibroUI flags and the one it ships. The marks and callouts show what changes.

  • Thumbs 12px · no value shown
  • Range typed · $40 – $220
  • Thumbs 24px · 44px hit area
  • Labels only $0 and $500
  • Min and max $0 and $500

What changes

Bad
Two 12px thumbs and only $0 and $500 at the ends: the selected range cannot be read or typed.
Good
Two 24px thumbs with 44px hit areas, a live $40 – $220 in two number inputs above the track, and $0 and $500 at the ends.

The rules

  • SU-321

    Sliders show their value and pair with a number input when precise. Label above, the current value always visible, min and max labels at the ends, and a track of about 4px with a visible thumb of 20-24px inside a 44px hit area. Ranges (a price filter) use two thumbs plus min and max number inputs and a minimum gap between thumbs. Ranges as wide as 1-1000, or as narrow as 1-3, do not use a slider.