gentleface

Gentleface › Layout & interface › slider

slider icon

Slider: slider, range input, range slider, price range. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M6.732 5.732C6.976 5.488 7.259 5.303 7.58 5.176C7.875 5.059 8.182 5 8.5 5C8.818 5 9.125 5.059 9.42 5.176C9.741 5.303 10.024 5.488 10.268 5.732C10.512 5.976 10.697 6.259 10.824 6.58C10.879 6.717 10.921 6.858 10.95 7L13.5 7C13.641 7 13.759 7.048 13.856 7.144C13.952 7.241 14 7.359 14 7.5C14 7.641 13.952 7.759 13.856 7.856C13.759 7.952 13.641 8 13.5 8L10.95 8C10.921 8.143 10.879 8.283 10.824 8.42C10.697 8.741 10.512 9.024 10.268 9.268C10.024 9.512 9.741 9.697 9.42 9.824C9.125 9.941 8.818 10 8.5 10C8.182 10 7.875 9.941 7.58 9.824C7.259 9.697 6.976 9.512 6.732 9.268C6.488 9.024 6.303 8.741 6.176 8.42C6.059 8.125 6 7.818 6 7.5L6 8.5C6 8.641 5.952 8.759 5.856 8.856C5.759 8.952 5.641 9 5.5 9L2.264 9C2.169 9 2.077 8.97 2 8.914C1.7 8.808 1.459 8.626 1.275 8.366C1.092 8.107 1 7.818 1 7.5C1 7.182 1.092 6.893 1.275 6.634C1.459 6.374 1.7 6.192 2 6.086C2.077 6.03 2.169 6 2.264 6L5.5 6C5.641 6 5.759 6.048 5.856 6.144C5.952 6.241 6 6.359 6 6.5L6 7.5C6 7.182 6.059 6.875 6.176 6.58C6.303 6.259 6.488 5.976 6.732 5.732ZM7.439 8.561C7.586 8.707 7.755 8.818 7.948 8.895C8.125 8.965 8.309 9 8.5 9C8.691 9 8.875 8.965 9.052 8.895C9.245 8.818 9.414 8.707 9.561 8.561C9.707 8.414 9.818 8.245 9.895 8.052C9.965 7.875 10 7.691 10 7.5C10 7.309 9.965 7.125 9.895 6.948C9.818 6.755 9.707 6.586 9.561 6.439C9.414 6.293 9.245 6.182 9.052 6.105C8.875 6.035 8.691 6 8.5 6C8.309 6 8.125 6.035 7.948 6.105C7.755 6.182 7.586 6.293 7.439 6.439C7.293 6.586 7.182 6.755 7.105 6.948C7.035 7.125 7 7.309 7 7.5C7 7.691 7.035 7.875 7.105 8.052C7.182 8.245 7.293 8.414 7.439 8.561Z"/></svg>
React
// Gentleface "slider" (line-round), MIT. https://gentleface.com/icons/slider
import type { SVGProps } from 'react';

export function SliderIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M6.732 5.732C6.976 5.488 7.259 5.303 7.58 5.176C7.875 5.059 8.182 5 8.5 5C8.818 5 9.125 5.059 9.42 5.176C9.741 5.303 10.024 5.488 10.268 5.732C10.512 5.976 10.697 6.259 10.824 6.58C10.879 6.717 10.921 6.858 10.95 7L13.5 7C13.641 7 13.759 7.048 13.856 7.144C13.952 7.241 14 7.359 14 7.5C14 7.641 13.952 7.759 13.856 7.856C13.759 7.952 13.641 8 13.5 8L10.95 8C10.921 8.143 10.879 8.283 10.824 8.42C10.697 8.741 10.512 9.024 10.268 9.268C10.024 9.512 9.741 9.697 9.42 9.824C9.125 9.941 8.818 10 8.5 10C8.182 10 7.875 9.941 7.58 9.824C7.259 9.697 6.976 9.512 6.732 9.268C6.488 9.024 6.303 8.741 6.176 8.42C6.059 8.125 6 7.818 6 7.5L6 8.5C6 8.641 5.952 8.759 5.856 8.856C5.759 8.952 5.641 9 5.5 9L2.264 9C2.169 9 2.077 8.97 2 8.914C1.7 8.808 1.459 8.626 1.275 8.366C1.092 8.107 1 7.818 1 7.5C1 7.182 1.092 6.893 1.275 6.634C1.459 6.374 1.7 6.192 2 6.086C2.077 6.03 2.169 6 2.264 6L5.5 6C5.641 6 5.759 6.048 5.856 6.144C5.952 6.241 6 6.359 6 6.5L6 7.5C6 7.182 6.059 6.875 6.176 6.58C6.303 6.259 6.488 5.976 6.732 5.732ZM7.439 8.561C7.586 8.707 7.755 8.818 7.948 8.895C8.125 8.965 8.309 9 8.5 9C8.691 9 8.875 8.965 9.052 8.895C9.245 8.818 9.414 8.707 9.561 8.561C9.707 8.414 9.818 8.245 9.895 8.052C9.965 7.875 10 7.691 10 7.5C10 7.309 9.965 7.125 9.895 6.948C9.818 6.755 9.707 6.586 9.561 6.439C9.414 6.293 9.245 6.182 9.052 6.105C8.875 6.035 8.691 6 8.5 6C8.309 6 8.125 6.035 7.948 6.105C7.755 6.182 7.586 6.293 7.439 6.439C7.293 6.586 7.182 6.755 7.105 6.948C7.035 7.125 7 7.309 7 7.5C7 7.691 7.035 7.875 7.105 8.052C7.182 8.245 7.293 8.414 7.439 8.561Z" />
    </svg>
  );
}
Vue
Vue: see /icons/slider.md
Svelte
Svelte: see /icons/slider.md
HTML img
HTML img: see /icons/slider.md
CSS
CSS: see /icons/slider.md
Data URL
Data URL: see /icons/slider.md
Sprite
Sprite: see /icons/slider.md
SwiftUI
SwiftUI: see /icons/slider.md
Compose
Compose: see /icons/slider.md
Android XML
Android XML: see /icons/slider.md
Flutter
Flutter: see /icons/slider.md

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

Meaning

Use it for
slider, range input, range slider, price range
Alternatives
  • sliders: adjust or tune settings, three tracks (adjust)
Don’t confuse with
  • toggle: an on/off switch (toggle)
Not for
  • carousel (use carousel-horizontal): slider is the range input (slider); an image slider is a carousel
Tags
slider, range, range slider, seek bar, scrubber, volume slider, value, track, thumb, form control, ui, component
Category
Layout & interface
Component name
SliderIcon
History
  • added

Family 58

More layout & interface icons

For agents

Metadata: /icons/slider.json · Markdown: /icons/slider.md · SVG: https://gentleface.com/svg/{style}/16/slider.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/slider.png

Feedback