Toggle On Two Tone icon
keyline-icons:toggle-on-two-tone
The Toggle On Two Tone icon (keyline-icons:toggle-on-two-tone) 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
- toggleon, ontwo, twotone, toggleontwotone
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2"><path fill="currentColor" fill-opacity=".4" d="M8 5H16C19.866 5 23 8.13401 23 12C23 15.866 19.866 19 16 19H8C4.13401 19 1 15.866 1 12C1 8.13401 4.13401 5 8 5Z" stroke="none"/><path d="M8 6H16C19.3137 6 22 8.68629 22 12C22 15.3137 19.3137 18 16 18H8C4.68629 18 2 15.3137 2 12C2 8.68629 4.68629 6 8 6Z"/><path d="M18 12C18 13.1046 17.1046 14 16 14C14.8954 14 14 13.1046 14 12C14 10.8954 14.8954 10 16 10C17.1046 10 18 10.8954 18 12Z"/></g></svg>How to use the Toggle On Two Tone icon
React
import { Icon } from "@iconify/react";
<Icon icon="keyline-icons:toggle-on-two-tone" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="keyline-icons:toggle-on-two-tone" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="keyline-icons:toggle-on-two-tone" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--toggle-on-two-tone]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:toggle-on-two-tone"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="keyline-icons:toggle-on-two-tone"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/keyline-icons/toggle-on-two-tone.svg" alt="Toggle On Two Tone icon" width="24" height="24">Related icons in Keyline Icons
Toggle On Two Tone icon FAQ
Is the Toggle On Two Tone 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 Toggle On Two Tone icon in React?
Install @iconify/react and render <Icon icon="keyline-icons:toggle-on-two-tone" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Toggle On Two Tone icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/keyline-icons/toggle-on-two-tone.svg" alt="Toggle On Two Tone icon">, or paste the SVG code inline to style it with CSS.