# slider icon

Slider. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/slider

- Category: Layout & interface
- Use it for: slider, range input, range slider, price range
- Tags: slider, range, range slider, seek bar, scrubber, volume slider, value, track, thumb, form control, ui, component
- Family: accordion, breadcrumb, breadcrumb-chevrons, browser, button, cards, carousel-horizontal, carousel-vertical, columns, columns-gear, dialog, dropdown-menu, form, kanban, layout, layout-dashboard, layout-dashboard-gear, layout-dashboard-pencil, layout-dashboard-plus, layout-dashboard-sparkle, likert-scale, maximize, minimize, pagination, panel-bottom, panel-top, picture-in-picture, picture-in-picture-exit, pin, progress-bar, rows, rows-grouped, sidebar, sidebar-collapse, sidebar-expand, sidebar-right, sidebar-right-collapse, sidebar-right-expand, snackbar, stepper, table-arrow-down, table-arrow-up, table-gear, table-lock, table-search, table-sparkle, tabs, timeline, toggle, toggle-off, tooltip, user-interface, window, window-maximize, window-maximize-square, window-minimize, window-minimize-square, window-restore
- Component name: SliderIcon
- Added: 2026-10-19

## 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

## Files

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.

- line-round: https://gentleface.com/svg/line-round/16/slider.svg · PNG https://gentleface.com/png/line-round/16/slider.png · https://gentleface.com/png/line-round/32/slider.png · https://gentleface.com/png/line-round/48/slider.png
- line-soft: https://gentleface.com/svg/line-soft/16/slider.svg · PNG https://gentleface.com/png/line-soft/16/slider.png · https://gentleface.com/png/line-soft/32/slider.png · https://gentleface.com/png/line-soft/48/slider.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/slider.svg · PNG https://gentleface.com/png/line-sharp/16/slider.png · https://gentleface.com/png/line-sharp/32/slider.png · https://gentleface.com/png/line-sharp/48/slider.png
- solid-round: https://gentleface.com/svg/solid-round/16/slider.svg · PNG https://gentleface.com/png/solid-round/16/slider.png · https://gentleface.com/png/solid-round/32/slider.png · https://gentleface.com/png/solid-round/48/slider.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/slider.svg · PNG https://gentleface.com/png/solid-soft/16/slider.png · https://gentleface.com/png/solid-soft/32/slider.png · https://gentleface.com/png/solid-soft/48/slider.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/slider.svg · PNG https://gentleface.com/png/solid-sharp/16/slider.png · https://gentleface.com/png/solid-sharp/32/slider.png · https://gentleface.com/png/solid-sharp/48/slider.png

The SVG of every style: https://gentleface.com/icons/slider.json (`svg`).

## Code (line-round)

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. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```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

```tsx
// 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
<!-- Gentleface "slider" (line-round), MIT. https://gentleface.com/icons/slider -->
<template>
  <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>
</template>
```

### Svelte

```svelte
<!-- Gentleface "slider" (line-round), MIT. https://gentleface.com/icons/slider -->
<script>
  let props = $props();
</script>

<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>
```

### HTML img

```html
<!-- Gentleface "slider" (line-round), MIT. https://gentleface.com/icons/slider. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/slider.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "slider" (line-round), MIT. https://gentleface.com/icons/slider. Takes the text color. */
.icon-slider {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath 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'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath 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'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath 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'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "slider" (line-round), MIT. https://gentleface.com/icons/slider
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#slider"/></svg>
```

### SwiftUI

```swift
// Gentleface "slider" (line-round), MIT. https://gentleface.com/icons/slider
import SwiftUI

struct SliderIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 6.732, y: 5.732))
        p.addCurve(to: CGPoint(x: 7.58, y: 5.176), control1: CGPoint(x: 6.976, y: 5.488), control2: CGPoint(x: 7.259, y: 5.303))
        p.addCurve(to: CGPoint(x: 8.5, y: 5), control1: CGPoint(x: 7.875, y: 5.059), control2: CGPoint(x: 8.182, y: 5))
        p.addCurve(to: CGPoint(x: 9.42, y: 5.176), control1: CGPoint(x: 8.818, y: 5), control2: CGPoint(x: 9.125, y: 5.059))
        p.addCurve(to: CGPoint(x: 10.268, y: 5.732), control1: CGPoint(x: 9.741, y: 5.303), control2: CGPoint(x: 10.024, y: 5.488))
        p.addCurve(to: CGPoint(x: 10.824, y: 6.58), control1: CGPoint(x: 10.512, y: 5.976), control2: CGPoint(x: 10.697, y: 6.259))
        p.addCurve(to: CGPoint(x: 10.95, y: 7), control1: CGPoint(x: 10.879, y: 6.717), control2: CGPoint(x: 10.921, y: 6.858))
        p.addLine(to: CGPoint(x: 13.5, y: 7))
        p.addCurve(to: CGPoint(x: 13.856, y: 7.144), control1: CGPoint(x: 13.641, y: 7), control2: CGPoint(x: 13.759, y: 7.048))
        p.addCurve(to: CGPoint(x: 14, y: 7.5), control1: CGPoint(x: 13.952, y: 7.241), control2: CGPoint(x: 14, y: 7.359))
        p.addCurve(to: CGPoint(x: 13.856, y: 7.856), control1: CGPoint(x: 14, y: 7.641), control2: CGPoint(x: 13.952, y: 7.759))
        p.addCurve(to: CGPoint(x: 13.5, y: 8), control1: CGPoint(x: 13.759, y: 7.952), control2: CGPoint(x: 13.641, y: 8))
        p.addLine(to: CGPoint(x: 10.95, y: 8))
        p.addCurve(to: CGPoint(x: 10.824, y: 8.42), control1: CGPoint(x: 10.921, y: 8.143), control2: CGPoint(x: 10.879, y: 8.283))
        p.addCurve(to: CGPoint(x: 10.268, y: 9.268), control1: CGPoint(x: 10.697, y: 8.741), control2: CGPoint(x: 10.512, y: 9.024))
        p.addCurve(to: CGPoint(x: 9.42, y: 9.824), control1: CGPoint(x: 10.024, y: 9.512), control2: CGPoint(x: 9.741, y: 9.697))
        p.addCurve(to: CGPoint(x: 8.5, y: 10), control1: CGPoint(x: 9.125, y: 9.941), control2: CGPoint(x: 8.818, y: 10))
        p.addCurve(to: CGPoint(x: 7.58, y: 9.824), control1: CGPoint(x: 8.182, y: 10), control2: CGPoint(x: 7.875, y: 9.941))
        p.addCurve(to: CGPoint(x: 6.732, y: 9.268), control1: CGPoint(x: 7.259, y: 9.697), control2: CGPoint(x: 6.976, y: 9.512))
        p.addCurve(to: CGPoint(x: 6.176, y: 8.42), control1: CGPoint(x: 6.488, y: 9.024), control2: CGPoint(x: 6.303, y: 8.741))
        p.addCurve(to: CGPoint(x: 6, y: 7.5), control1: CGPoint(x: 6.059, y: 8.125), control2: CGPoint(x: 6, y: 7.818))
        p.addLine(to: CGPoint(x: 6, y: 8.5))
        p.addCurve(to: CGPoint(x: 5.856, y: 8.856), control1: CGPoint(x: 6, y: 8.641), control2: CGPoint(x: 5.952, y: 8.759))
        p.addCurve(to: CGPoint(x: 5.5, y: 9), control1: CGPoint(x: 5.759, y: 8.952), control2: CGPoint(x: 5.641, y: 9))
        p.addLine(to: CGPoint(x: 2.264, y: 9))
        p.addCurve(to: CGPoint(x: 2, y: 8.914), control1: CGPoint(x: 2.169, y: 9), control2: CGPoint(x: 2.077, y: 8.97))
        p.addCurve(to: CGPoint(x: 1.275, y: 8.366), control1: CGPoint(x: 1.7, y: 8.808), control2: CGPoint(x: 1.459, y: 8.626))
        p.addCurve(to: CGPoint(x: 1, y: 7.5), control1: CGPoint(x: 1.092, y: 8.107), control2: CGPoint(x: 1, y: 7.818))
        p.addCurve(to: CGPoint(x: 1.275, y: 6.634), control1: CGPoint(x: 1, y: 7.182), control2: CGPoint(x: 1.092, y: 6.893))
        p.addCurve(to: CGPoint(x: 2, y: 6.086), control1: CGPoint(x: 1.459, y: 6.374), control2: CGPoint(x: 1.7, y: 6.192))
        p.addCurve(to: CGPoint(x: 2.264, y: 6), control1: CGPoint(x: 2.077, y: 6.03), control2: CGPoint(x: 2.169, y: 6))
        p.addLine(to: CGPoint(x: 5.5, y: 6))
        p.addCurve(to: CGPoint(x: 5.856, y: 6.144), control1: CGPoint(x: 5.641, y: 6), control2: CGPoint(x: 5.759, y: 6.048))
        p.addCurve(to: CGPoint(x: 6, y: 6.5), control1: CGPoint(x: 5.952, y: 6.241), control2: CGPoint(x: 6, y: 6.359))
        p.addLine(to: CGPoint(x: 6, y: 7.5))
        p.addCurve(to: CGPoint(x: 6.176, y: 6.58), control1: CGPoint(x: 6, y: 7.182), control2: CGPoint(x: 6.059, y: 6.875))
        p.addCurve(to: CGPoint(x: 6.732, y: 5.732), control1: CGPoint(x: 6.303, y: 6.259), control2: CGPoint(x: 6.488, y: 5.976))
        p.closeSubpath()
        p.move(to: CGPoint(x: 7.439, y: 8.561))
        p.addCurve(to: CGPoint(x: 7.948, y: 8.895), control1: CGPoint(x: 7.586, y: 8.707), control2: CGPoint(x: 7.755, y: 8.818))
        p.addCurve(to: CGPoint(x: 8.5, y: 9), control1: CGPoint(x: 8.125, y: 8.965), control2: CGPoint(x: 8.309, y: 9))
        p.addCurve(to: CGPoint(x: 9.052, y: 8.895), control1: CGPoint(x: 8.691, y: 9), control2: CGPoint(x: 8.875, y: 8.965))
        p.addCurve(to: CGPoint(x: 9.561, y: 8.561), control1: CGPoint(x: 9.245, y: 8.818), control2: CGPoint(x: 9.414, y: 8.707))
        p.addCurve(to: CGPoint(x: 9.895, y: 8.052), control1: CGPoint(x: 9.707, y: 8.414), control2: CGPoint(x: 9.818, y: 8.245))
        p.addCurve(to: CGPoint(x: 10, y: 7.5), control1: CGPoint(x: 9.965, y: 7.875), control2: CGPoint(x: 10, y: 7.691))
        p.addCurve(to: CGPoint(x: 9.895, y: 6.948), control1: CGPoint(x: 10, y: 7.309), control2: CGPoint(x: 9.965, y: 7.125))
        p.addCurve(to: CGPoint(x: 9.561, y: 6.439), control1: CGPoint(x: 9.818, y: 6.755), control2: CGPoint(x: 9.707, y: 6.586))
        p.addCurve(to: CGPoint(x: 9.052, y: 6.105), control1: CGPoint(x: 9.414, y: 6.293), control2: CGPoint(x: 9.245, y: 6.182))
        p.addCurve(to: CGPoint(x: 8.5, y: 6), control1: CGPoint(x: 8.875, y: 6.035), control2: CGPoint(x: 8.691, y: 6))
        p.addCurve(to: CGPoint(x: 7.948, y: 6.105), control1: CGPoint(x: 8.309, y: 6), control2: CGPoint(x: 8.125, y: 6.035))
        p.addCurve(to: CGPoint(x: 7.439, y: 6.439), control1: CGPoint(x: 7.755, y: 6.182), control2: CGPoint(x: 7.586, y: 6.293))
        p.addCurve(to: CGPoint(x: 7.105, y: 6.948), control1: CGPoint(x: 7.293, y: 6.586), control2: CGPoint(x: 7.182, y: 6.755))
        p.addCurve(to: CGPoint(x: 7, y: 7.5), control1: CGPoint(x: 7.035, y: 7.125), control2: CGPoint(x: 7, y: 7.309))
        p.addCurve(to: CGPoint(x: 7.105, y: 8.052), control1: CGPoint(x: 7, y: 7.691), control2: CGPoint(x: 7.035, y: 7.875))
        p.addCurve(to: CGPoint(x: 7.439, y: 8.561), control1: CGPoint(x: 7.182, y: 8.245), control2: CGPoint(x: 7.293, y: 8.414))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// SliderIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "slider" (line-round), MIT. https://gentleface.com/icons/slider
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val SliderIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "slider", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("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"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(SliderIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_slider.xml · Gentleface "slider" (line-round), MIT. https://gentleface.com/icons/slider -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="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"/>
</vector>
```

### Flutter

```dart
// Gentleface "slider" (line-round), MIT. https://gentleface.com/icons/slider
import 'package:flutter/widgets.dart';

class SliderIcon extends StatelessWidget {
  const SliderIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _SliderIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _SliderIconPainter extends CustomPainter {
  _SliderIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(6.732, 5.732)
      ..cubicTo(6.976, 5.488, 7.259, 5.303, 7.58, 5.176)
      ..cubicTo(7.875, 5.059, 8.182, 5, 8.5, 5)
      ..cubicTo(8.818, 5, 9.125, 5.059, 9.42, 5.176)
      ..cubicTo(9.741, 5.303, 10.024, 5.488, 10.268, 5.732)
      ..cubicTo(10.512, 5.976, 10.697, 6.259, 10.824, 6.58)
      ..cubicTo(10.879, 6.717, 10.921, 6.858, 10.95, 7)
      ..lineTo(13.5, 7)
      ..cubicTo(13.641, 7, 13.759, 7.048, 13.856, 7.144)
      ..cubicTo(13.952, 7.241, 14, 7.359, 14, 7.5)
      ..cubicTo(14, 7.641, 13.952, 7.759, 13.856, 7.856)
      ..cubicTo(13.759, 7.952, 13.641, 8, 13.5, 8)
      ..lineTo(10.95, 8)
      ..cubicTo(10.921, 8.143, 10.879, 8.283, 10.824, 8.42)
      ..cubicTo(10.697, 8.741, 10.512, 9.024, 10.268, 9.268)
      ..cubicTo(10.024, 9.512, 9.741, 9.697, 9.42, 9.824)
      ..cubicTo(9.125, 9.941, 8.818, 10, 8.5, 10)
      ..cubicTo(8.182, 10, 7.875, 9.941, 7.58, 9.824)
      ..cubicTo(7.259, 9.697, 6.976, 9.512, 6.732, 9.268)
      ..cubicTo(6.488, 9.024, 6.303, 8.741, 6.176, 8.42)
      ..cubicTo(6.059, 8.125, 6, 7.818, 6, 7.5)
      ..lineTo(6, 8.5)
      ..cubicTo(6, 8.641, 5.952, 8.759, 5.856, 8.856)
      ..cubicTo(5.759, 8.952, 5.641, 9, 5.5, 9)
      ..lineTo(2.264, 9)
      ..cubicTo(2.169, 9, 2.077, 8.97, 2, 8.914)
      ..cubicTo(1.7, 8.808, 1.459, 8.626, 1.275, 8.366)
      ..cubicTo(1.092, 8.107, 1, 7.818, 1, 7.5)
      ..cubicTo(1, 7.182, 1.092, 6.893, 1.275, 6.634)
      ..cubicTo(1.459, 6.374, 1.7, 6.192, 2, 6.086)
      ..cubicTo(2.077, 6.03, 2.169, 6, 2.264, 6)
      ..lineTo(5.5, 6)
      ..cubicTo(5.641, 6, 5.759, 6.048, 5.856, 6.144)
      ..cubicTo(5.952, 6.241, 6, 6.359, 6, 6.5)
      ..lineTo(6, 7.5)
      ..cubicTo(6, 7.182, 6.059, 6.875, 6.176, 6.58)
      ..cubicTo(6.303, 6.259, 6.488, 5.976, 6.732, 5.732)
      ..close()
      ..moveTo(7.439, 8.561)
      ..cubicTo(7.586, 8.707, 7.755, 8.818, 7.948, 8.895)
      ..cubicTo(8.125, 8.965, 8.309, 9, 8.5, 9)
      ..cubicTo(8.691, 9, 8.875, 8.965, 9.052, 8.895)
      ..cubicTo(9.245, 8.818, 9.414, 8.707, 9.561, 8.561)
      ..cubicTo(9.707, 8.414, 9.818, 8.245, 9.895, 8.052)
      ..cubicTo(9.965, 7.875, 10, 7.691, 10, 7.5)
      ..cubicTo(10, 7.309, 9.965, 7.125, 9.895, 6.948)
      ..cubicTo(9.818, 6.755, 9.707, 6.586, 9.561, 6.439)
      ..cubicTo(9.414, 6.293, 9.245, 6.182, 9.052, 6.105)
      ..cubicTo(8.875, 6.035, 8.691, 6, 8.5, 6)
      ..cubicTo(8.309, 6, 8.125, 6.035, 7.948, 6.105)
      ..cubicTo(7.755, 6.182, 7.586, 6.293, 7.439, 6.439)
      ..cubicTo(7.293, 6.586, 7.182, 6.755, 7.105, 6.948)
      ..cubicTo(7.035, 7.125, 7, 7.309, 7, 7.5)
      ..cubicTo(7, 7.691, 7.035, 7.875, 7.105, 8.052)
      ..cubicTo(7.182, 8.245, 7.293, 8.414, 7.439, 8.561)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_SliderIconPainter old) => old.color != color;
}
```
