ICONYZ
English
Switch icon from @icons

Switch icon

at-icons:switch

The Switch icon (at-icons:switch) is a free SVG icon from the @icons set by Valentin Fossati. It is drawn on a 24 × 24 grid. @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
@icons
Author
Valentin Fossati
License
MIT
Size
24 × 24
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><g fill="currentColor"><path d="M9 3.5a1 1 0 1 1 0 2a1 1 0 0 1 0-2"/><path d="M12 1a2 2 0 0 1 2 2v4.72q0 .28-.077.55l-1.509 5.28A2 2 0 0 1 10.491 15h-5.84a2 2 0 0 1-1.922-2.55l1.194-4.18Q3.999 8 4 7.72V3a2 2 0 0 1 2-2zM8.498 8.775a.75.75 0 0 0-.919.53l-.804 3a.75.75 0 0 0 1.45.39l.803-3a.75.75 0 0 0-.53-.92M9 2a2.5 2.5 0 1 0 0 5a2.5 2.5 0 0 0 0-5"/></g></svg>

How to use the Switch icon

React

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

<Icon icon="at-icons:switch" width="24" />

Vue

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

<template>
  <Icon icon="at-icons:switch" width="24" />
</template>

Svelte

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

<Icon icon="at-icons:switch" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[at-icons--switch]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/at-icons -->
<div class="i-at-icons:switch"></div>

Web component

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

<iconify-icon icon="at-icons:switch"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/at-icons/switch.svg" alt="Switch icon" width="24" height="24">

Switch icon in other icon sets

Switch icon FAQ

Is the Switch icon free for commercial use?

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

How do I use the Switch icon in React?

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

How do I add the Switch icon to a web page?

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

Browse all @icons →