Switch icon
ps:switch
The Switch icon (ps:switch) is a free SVG icon from the PrestaShop Icons set by PrestaShop. It is drawn on a 512 × 456 grid. PrestaShop Icons use the CC BY-NC 4.0 license, which does not allow commercial use without separate permission from the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- PrestaShop Icons
- Author
- PrestaShop
- License
- CC-BY-NC-4.0
- Size
- 512 × 456
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="512" height="456" viewBox="0 0 512 456"><path fill="currentColor" d="M66 136h297q9 0 15-6t6-15q0-10-6-16t-15-6H66l34-51q7-6 6-15.5T98 12Q82 0 68 17L0 115l68 98q17 15 30 2q16-16 2-30zm348 47q-17 15-2 30l34 51H149q-9 0-15 6t-6 15q0 10 6 16t15 6h297l-34 51q-7 6-6 15.5t8 14.5q6 6 15.5 5t14.5-7l68-101l-68-98q-14-16-30-4"/></svg>How to use the Switch icon
React
import { Icon } from "@iconify/react";
<Icon icon="ps:switch" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="ps:switch" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="ps:switch" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[ps--switch]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/ps -->
<div class="i-ps:switch"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="ps:switch"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/ps/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?
No. PrestaShop Icons use the CC BY-NC 4.0 license, which does not allow commercial use without separate permission from the author.
How do I use the Switch icon in React?
Install @iconify/react and render <Icon icon="ps: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/ps/switch.svg" alt="Switch icon">, or paste the SVG code inline to style it with CSS.