A knob on a track with a tag for picking a 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 18C20 16.34 18.6569 15 17 15H15C13.3431 15 12 16.34 12 18M20 18C20 19.66 18.6569 21 17 21H15C13.3431 21 12 19.66 12 18M20 18H22M12 18H2M2 5V9C2 10.1 2.8954 11 4 11H8C9.1046 11 10 10.1 10 9V5C10 3.9 9.1046 3 8 3H4C2.8954 3 2 3.9 2 5ZM22 7C22 4.79 20.2091 3 18 3C15.7909 3 14 4.79 14 7C14 9.21 15.7909 11 18 11C20.2091 11 22 9.21 22 7Z"/>
</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
  • value
  • setting

Related icons

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

FAQ

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

What is the slider icon for?
A knob on a track with a tag for picking a 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, value and setting, and the browser's search matches all of those.
What styles does the slider 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?
No. slider is drawn as a bare glyph, and the set has no boxed variant of it.
What other icons go with slider?
slider-horizontal, 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 in React?
<Slider /> 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 <Slider size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
Where is the slider SVG?
icons/stroke/slider.svg, icons/two-tone/slider.svg, icons/duotone/slider.svg and icons/fill/slider.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 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.