ICONYZ
English
Switch Button icon from Element Plus

Switch Button icon

ep:switch-button

The Switch Button icon (ep:switch-button) is a free SVG icon from the Element Plus set. It is drawn on a 1024 × 1024 grid. Element Plus 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
Element Plus
Author
Element Plus
License
MIT
Size
1024 × 1024
Tags
switchbutton
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="1024" height="1024" viewBox="0 0 1024 1024"><path fill="currentColor" d="M352 159.9v70.5a352 352 0 1 0 320 0v-70.5A416.1 416.1 0 0 1 512 960a416 416 0 0 1-160-800.1"/><path fill="currentColor" d="M512 64q32 0 32 32v320q0 32-32 32t-32-32V96q0-32 32-32"/></svg>

How to use the Switch Button icon

React

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

<Icon icon="ep:switch-button" width="24" />

Vue

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

<template>
  <Icon icon="ep:switch-button" width="24" />
</template>

Svelte

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

<Icon icon="ep:switch-button" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="ep:switch-button"></iconify-icon>

HTML image

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

Related icons in Element Plus

Switch Button icon in other icon sets

Switch Button icon FAQ

Is the Switch Button icon free for commercial use?

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

How do I use the Switch Button icon in React?

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

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

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

Browse all Element Plus icons →