A knob on a wide track for adjusting a single value. On a 24×24 grid in stroke, two-tone, duotone and fill, free under MIT.

ControlsNewv2.6.0Added
Drawn byKeyline Icons
16
20
24 px
32
24px
2px
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
  <path d="M20 19C20 17.34 18.6569 16 17 16H15C13.3431 16 12 17.34 12 19M20 19C20 20.66 18.6569 22 17 22H15C13.3431 22 12 20.66 12 19M20 19H22M12 19H2M2 4V10C2 11.1 2.8954 12 4 12H20C21.1046 12 22 11.1 22 10V4C22 2.9 21.1046 2 20 2H4C2.8954 2 2 2.9 2 4Z"/>
</svg>

Also called

What someone searching for this drawing would have typed instead. These are the words the browser's search matches on.

  • range
  • control
  • input
  • adjust
  • volume
  • setting

Related icons

The rest of the slider family first, then the Controls shelf.

FAQ

Answered from slider-horizontal's own facts: its shelf, the styles it was drawn in, its siblings and its dates.

What is the slider-horizontal icon for?
A knob on a wide track for adjusting a single value. It is filed under Controls in Keyline Icons, drawn on the same 24×24 grid as the rest of the set. People look for it as range, control, input, adjust, volume and setting, and the browser's search matches all of those.
What styles does the slider-horizontal icon come in?
All four: stroke, two-tone, duotone and fill. They are drawn from the same geometry, so swapping style never moves anything.
Is there a square or circle version of slider-horizontal?
No. slider-horizontal is drawn as a bare glyph, and the set has no boxed variant of it.
What other icons go with slider-horizontal?
slider, grip-horizontal, grip-vertical, light-max, light-min and power, and 8 more, all shown below. The slider family is listed first, then the rest of the Controls shelf, so the row under this one is the useful one even where a shelf runs long.
How do I import slider-horizontal in React?
<SliderHorizontal /> is the component, and the style decides the module: stroke from "@keyline-icons/react", two-tone from "@keyline-icons/react/two-tone", duotone from "@keyline-icons/react/duotone" and fill from "@keyline-icons/react/fill". It takes the usual SVG props plus a size, so <SliderHorizontal size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
Where is the slider-horizontal SVG?
icons/stroke/slider-horizontal.svg, icons/two-tone/slider-horizontal.svg, icons/duotone/slider-horizontal.svg and icons/fill/slider-horizontal.svg in the repository, normalised: no wrapper, no ids and no classes to strip out. The tabs above hand you the same drawing as SVG or JSX without the download, and neither needs an install.
When was slider-horizontal added to the set?
Added 8 Nov 2026. It ships in v2.6.0, so an install at that version or later has it.

Questions about the set rather than about this drawing are answered where they belong. The home page covers what the set is, how the three styles differ, why some icons come boxed and where the Figma file is; installing the set in a shadcn/ui project covers the React package, the CLI and using an icon without React. The MIT licence is stated in the footer of every page.