ICONYZ
English
Slider icon from Boxicons

Slider icon

boxicons:slider

The Slider icon (boxicons:slider) is a free SVG icon from the Boxicons set. It is drawn on a 24 × 24 grid. Boxicons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Boxicons
Author
Boxicons
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M8.5 1.5C6.92 1.5 5.6 2.56 5.16 4H2v2h3.16c.43 1.44 1.76 2.5 3.34 2.5s2.9-1.06 3.34-2.5H22V4H11.84A3.495 3.495 0 0 0 8.5 1.5m0 5C7.67 6.5 7 5.83 7 5s.67-1.5 1.5-1.5S10 4.17 10 5s-.67 1.5-1.5 1.5m0 9c-1.58 0-2.9 1.06-3.34 2.5H2v2h3.16c.43 1.44 1.76 2.5 3.34 2.5s2.9-1.06 3.34-2.5H22v-2H11.84a3.495 3.495 0 0 0-3.34-2.5m0 5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5s1.5.67 1.5 1.5s-.67 1.5-1.5 1.5m8-12c-1.58 0-2.9 1.06-3.34 2.5H2v2h11.16c.43 1.44 1.76 2.5 3.34 2.5s2.9-1.06 3.34-2.5H22v-2h-2.16a3.495 3.495 0 0 0-3.34-2.5m0 5c-.83 0-1.5-.67-1.5-1.5s.67-1.5 1.5-1.5s1.5.67 1.5 1.5s-.67 1.5-1.5 1.5"/></svg>

How to use the Slider icon

React

import { Icon } from "@iconify/react";

<Icon icon="boxicons:slider" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="boxicons:slider" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="boxicons:slider" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[boxicons--slider]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/boxicons -->
<div class="i-boxicons:slider"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="boxicons:slider"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/boxicons/slider.svg" alt="Slider icon" width="24" height="24">

Related icons in Boxicons

Slider icon in other icon sets

Slider icon FAQ

Is the Slider icon free for commercial use?

Yes. Boxicons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Slider icon in React?

Install @iconify/react and render <Icon icon="boxicons:slider" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Slider icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/boxicons/slider.svg" alt="Slider icon">, or paste the SVG code inline to style it with CSS.

Browse all Boxicons →