ICONYZ
English
Toggles Sharp icon from Keyline Icons

Toggles Sharp icon

keyline-icons:toggles-sharp

The Toggles Sharp icon (keyline-icons:toggles-sharp) is a free SVG icon from the Keyline Icons set. It is drawn on a 24 × 24 grid. Keyline Icons 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
Keyline Icons
Author
Keyline Icons
License
MIT
Size
24 × 24
Tags
togglessharp, toggle
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linejoin="round" stroke-width="2" d="M4.5 2L19.5 2C19.7761 2 20 2.2239 20 2.5L20 9.5C20 9.7761 19.7761 10 19.5 10L4.5 10C4.2239 10 4 9.7761 4 9.5L4 2.5C4 2.2239 4.2239 2 4.5 2ZM4.5 14L19.5 14C19.7761 14 20 14.2239 20 14.5L20 21.5C20 21.7761 19.7761 22 19.5 22L4.5 22C4.2239 22 4 21.7761 4 21.5L4 14.5C4 14.2239 4.2239 14 4.5 14ZM12 2L12 10M12 14L12 22"/></svg>

How to use the Toggles Sharp icon

React

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

<Icon icon="keyline-icons:toggles-sharp" width="24" />

Vue

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

<template>
  <Icon icon="keyline-icons:toggles-sharp" width="24" />
</template>

Svelte

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

<Icon icon="keyline-icons:toggles-sharp" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--toggles-sharp]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:toggles-sharp"></div>

Web component

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

<iconify-icon icon="keyline-icons:toggles-sharp"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/keyline-icons/toggles-sharp.svg" alt="Toggles Sharp icon" width="24" height="24">

Related icons in Keyline Icons

Toggles Sharp icon FAQ

Is the Toggles Sharp icon free for commercial use?

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

How do I use the Toggles Sharp icon in React?

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

How do I add the Toggles Sharp icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/keyline-icons/toggles-sharp.svg" alt="Toggles Sharp icon">, or paste the SVG code inline to style it with CSS.

Browse all Keyline Icons →