ICONYZ
English
Toggle On icon from Keyline Icons

Toggle On icon

keyline-icons:toggle-on

The Toggle On icon (keyline-icons:toggle-on) 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
Download SVG

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

React

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

<Icon icon="keyline-icons:toggle-on" width="24" />

Vue

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

<template>
  <Icon icon="keyline-icons:toggle-on" width="24" />
</template>

Svelte

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

<Icon icon="keyline-icons:toggle-on" width="24" />

Tailwind CSS

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

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:toggle-on"></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"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/keyline-icons/toggle-on.svg" alt="Toggle On icon" width="24" height="24">

Related icons in Keyline Icons

Toggle On icon in other icon sets

Toggle On icon FAQ

Is the Toggle On 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 icon in React?

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

How do I add the Toggle On 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.svg" alt="Toggle On icon">, or paste the SVG code inline to style it with CSS.

Browse all Keyline Icons →