Toggles icon
keyline-icons:toggles
The Toggles icon (keyline-icons:toggles) 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
- toggle
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-linecap="round" stroke-linejoin="round" stroke-width="2" d="M8 2L16 2C18.2091 2 20 3.7909 20 6C20 8.2091 18.2091 10 16 10L8 10M16 22L8 22C5.7909 22 4 20.2091 4 18C4 15.7909 5.7909 14 8 14L16 14M12 6C12 8.2091 10.2091 10 8 10C5.7909 10 4 8.2091 4 6C4 3.7909 5.7909 2 8 2C10.2091 2 12 3.7909 12 6ZM20 18C20 20.2091 18.2091 22 16 22C13.7909 22 12 20.2091 12 18C12 15.7909 13.7909 14 16 14C18.2091 14 20 15.7909 20 18Z"/></svg>How to use the Toggles icon
React
import { Icon } from "@iconify/react";
<Icon icon="keyline-icons:toggles" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="keyline-icons:toggles" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="keyline-icons:toggles" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--toggles]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:toggles"></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"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/keyline-icons/toggles.svg" alt="Toggles icon" width="24" height="24">Related icons in Keyline Icons
Toggles icon in other icon sets
Toggles icon FAQ
Is the Toggles 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 icon in React?
Install @iconify/react and render <Icon icon="keyline-icons:toggles" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Toggles icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/keyline-icons/toggles.svg" alt="Toggles icon">, or paste the SVG code inline to style it with CSS.