Sliders

Sliders set a value by position on a track: you drag a knob, and where it lands is the number. That makes them right when the reader is judging magnitude (loud enough, bright enough, cheap enough) and wrong when a specific figure is the point. The seven blocks here run from a single continuous track through stepped ones, where cuts in the track are real stops the knob snaps to, up to a two-handle range paired with typed inputs.

What catches teams out is that a slider's precision is its pixel width. Across a small range, a short track gives several pixels per step and feels exact. Across a range of tens of thousands it gives a value the same person cannot land on twice in a row. Where the figure ever has to be exact, put a number field beside the track and keep the two in sync, so dragging is the rough pass and typing is the correction.

16 blocks

Budget range

Price and quantity filters: a bounded range with exact numbers on hand

Budget range, histogram

You can see what the range catches: Price filters where the market matters: how many homes sit at each price

Budget range, sentence

A sentence you can drag: A range read aloud: the amounts sit in a sentence and the track's fill moves the whole range

Skill levels

Rating several things on one scale: skills, priorities, preferences

Skill levels, all open

Every skill open at once: Rating a short list in one pass, with the result in view

Skill levels, interview

A short interview, one skill per step: Asking about skills one at a time, with a sentence that says what each level means

Stepped slider

A rating or level with a handful of fixed positions

Stepped slider, staircase

The level is a staircase: A level that should read as a climb: difficulty, intensity, tiers

Stepped slider, costs

Each stop says what it costs: Stops that change more than a number: what you get at each level

Gradient slider

Continuous amounts: volume, brightness, intensity

Gradient slider, value on knob

The number rides on the knob: Continuous amounts where the figure should stay under your thumb

Gradient slider, faders

Two faders, like a control centre: Several continuous settings side by side: display, sound, mix

Paddle slider

Coarse positions that want buttons as well as a drag: zoom, pages, stages

Option slider

Choosing several options and weighing each: where the hours go

Option slider, per option

One slider remembers each option: Grading one option at a time with a single control that remembers each grade

Drop-down slider

A graded setting that stays folded until it is needed

01

Using Sliders

Reach for it when

  • Setting volume, brightness or opacity, where the reader judges the result rather than the number
  • Filtering a catalogue by a price or quantity band with two handles
  • Grading several things on one short fixed scale: skill level, priority, effort
  • Zooming or scrubbing, where a drag finds the area and arrow steps do the rest

Reach for something else when

  • An exact figure the reader already has in mind, like a salary or an invoice total: use a number input rather than making them hunt for a value they could type
  • More than a handful of discrete choices; past a few stops the track stops reading as a scale, and a segmented control or a select names each option instead
  • A value with no meaningful upper bound: a slider needs a defined maximum, so reach for a number field with validation
02

Where it shows up

01

Price range filters

A catalogue narrows to a band. Two handles set the floor and the ceiling, a pair of typed inputs keeps the exact figures to hand, and the footer reads the range back before it is applied.

02

Playback and volume

Media controls where the reader judges the result rather than the number. Position on the track is the feedback, the track is one pointer surface so a press anywhere jumps the knob there, and arrow keys handle the last steps.

03

Self-assessment forms

Rating several things on one scale: skills, priorities, effort. Each row folds shut until it is opened, so a long list stays scannable, and every row grades against the same handful of stops rather than a free number.

04

Editor settings

Zoom, opacity and effect strength in a design tool. A paddle with step arrows gives coarse positions the drag can find and the arrows can correct, which suits a value the reader tunes by eye many times a session.

03

Questions

Should a slider show its current value as text?

Yes, next to the control. A knob's position is a rough reading and the fill is hardest to judge near the ends, where the difference between the last few steps matters most. Assistive technology announces the number from the control itself; everyone else needs it drawn. Put it in the label or immediately after the track, and include the unit.

How does a slider work with a keyboard?

All blocks
The Orvain Dispatch

Premium components, free in your inbox.

Join the Orvain Dispatch and get production-ready components, free to keep: React and Vue code plus the Figma frame, yours to ship.

Just components, never spam. You can unsubscribe anytime.