Toggle On Sharp icon
keyline-icons:toggle-on-sharp
The Toggle On Sharp icon (keyline-icons:toggle-on-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
- toggleon, onsharp, toggleonsharp
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-linejoin="round" stroke-width="2"><path d="M2.5 6L21.5 6C21.7761 6 22 6.2239 22 6.5L22 17.5C22 17.7761 21.7761 18 21.5 18L2.5 18C2.2239 18 2 17.7761 2 17.5L2 6.5C2 6.2239 2.2239 6 2.5 6Z"/><path d="M14.5 10L17.5 10C17.7761 10 18 10.2239 18 10.5L18 13.5C18 13.7761 17.7761 14 17.5 14L14.5 14C14.2239 14 14 13.7761 14 13.5L14 10.5C14 10.2239 14.2239 10 14.5 10Z"/></g></svg>How to use the Toggle On Sharp icon
React
import { Icon } from "@iconify/react";
<Icon icon="keyline-icons:toggle-on-sharp" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="keyline-icons:toggle-on-sharp" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="keyline-icons:toggle-on-sharp" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--toggle-on-sharp]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:toggle-on-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:toggle-on-sharp"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/keyline-icons/toggle-on-sharp.svg" alt="Toggle On Sharp icon" width="24" height="24">Related icons in Keyline Icons
Toggle On Sharp icon in other icon sets
Toggle On Sharp icon FAQ
Is the Toggle On 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 Toggle On Sharp icon in React?
Install @iconify/react and render <Icon icon="keyline-icons:toggle-on-sharp" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Toggle On Sharp 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-sharp.svg" alt="Toggle On Sharp icon">, or paste the SVG code inline to style it with CSS.