Switch Line icon
clarity:switch-line
The Switch Line icon (clarity:switch-line) is a free SVG icon from the Clarity set by VMware. It is drawn on a 36 × 36 grid. Clarity 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.
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 36 36"><path fill="currentColor" d="M5.71 14h15.21v-2H5.71l3.71-3.73A1 1 0 1 0 8 6.86L1.89 13L8 19.14a1 1 0 1 0 1.42-1.4Z" class="clr-i-outline clr-i-outline-path-1"/><path fill="currentColor" d="M23 12h3v2h-3z" class="clr-i-outline clr-i-outline-path-2"/><path fill="currentColor" d="M28 12h2v2h-2z" class="clr-i-outline clr-i-outline-path-3"/><path fill="currentColor" d="M27.92 17.86a1 1 0 0 0-1.42 1.41L30.21 23H15v2h15.21l-3.71 3.74a1 1 0 1 0 1.42 1.4L34 24Z" class="clr-i-outline clr-i-outline-path-4"/><path fill="currentColor" d="M10 23h3v2h-3z" class="clr-i-outline clr-i-outline-path-5"/><path fill="currentColor" d="M6 23h2v2H6z" class="clr-i-outline clr-i-outline-path-6"/><path fill="none" d="M0 0h36v36H0z"/></svg>How to use the Switch Line icon
React
import { Icon } from "@iconify/react";
<Icon icon="clarity:switch-line" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="clarity:switch-line" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="clarity:switch-line" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[clarity--switch-line]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/clarity -->
<div class="i-clarity:switch-line"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="clarity:switch-line"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/clarity/switch-line.svg" alt="Switch Line icon" width="24" height="24">Switch Line icon in other icon sets
Switch Line icon FAQ
Is the Switch Line icon free for commercial use?
Yes. Clarity icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Switch Line icon in React?
Install @iconify/react and render <Icon icon="clarity:switch-line" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Switch Line icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/clarity/switch-line.svg" alt="Switch Line icon">, or paste the SVG code inline to style it with CSS.