toggle-solid from Teenyicons by smhmd · Solid · MIT Free for personal and commercial use.

Name
toggle-solid
Set
Teenyicons
Style
Solid
Viewbox
15×15
License
MIT

1 other variant in Teenyicons

The same icon in other sets

Use the toggle icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 15 15"><path fill="currentColor" fill-rule="evenodd" d="M0 3.5A3.5 3.5 0 0 1 3.5 0h8a3.5 3.5 0 1 1 0 7h-8A3.5 3.5 0 0 1 0 3.5M3.5 2a1.5 1.5 0 1 1 0 3a1.5 1.5 0 0 1 0-3M15 11.5a3.5 3.5 0 0 1-3.5 3.5h-8a3.5 3.5 0 1 1 0-7h8a3.5 3.5 0 0 1 3.5 3.5M11.5 13a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3" clip-rule="evenodd"/></svg>

React

import type { SVGProps } from "react";

export function TeenyiconsToggleSolid(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 15 15"><path fill="currentColor" fillRule="evenodd" d="M0 3.5A3.5 3.5 0 0 1 3.5 0h8a3.5 3.5 0 1 1 0 7h-8A3.5 3.5 0 0 1 0 3.5M3.5 2a1.5 1.5 0 1 1 0 3a1.5 1.5 0 0 1 0-3M15 11.5a3.5 3.5 0 0 1-3.5 3.5h-8a3.5 3.5 0 1 1 0-7h8a3.5 3.5 0 0 1 3.5 3.5M11.5 13a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3" clipRule="evenodd"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 15 15"><path fill="currentColor" fill-rule="evenodd" d="M0 3.5A3.5 3.5 0 0 1 3.5 0h8a3.5 3.5 0 1 1 0 7h-8A3.5 3.5 0 0 1 0 3.5M3.5 2a1.5 1.5 0 1 1 0 3a1.5 1.5 0 0 1 0-3M15 11.5a3.5 3.5 0 0 1-3.5 3.5h-8a3.5 3.5 0 1 1 0-7h8a3.5 3.5 0 0 1 3.5 3.5M11.5 13a1.5 1.5 0 1 1 0-3a1.5 1.5 0 0 1 0 3" clip-rule="evenodd"/></svg>
</template>

CSS

.icon-toggle-solid {
  width: 24px;
  height: 24px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2015%2015%22%3E%3Cpath%20fill%3D%22currentColor%22%20fill-rule%3D%22evenodd%22%20d%3D%22M0%203.5A3.5%203.5%200%200%201%203.5%200h8a3.5%203.5%200%201%201%200%207h-8A3.5%203.5%200%200%201%200%203.5M3.5%202a1.5%201.5%200%201%201%200%203a1.5%201.5%200%200%201%200-3M15%2011.5a3.5%203.5%200%200%201-3.5%203.5h-8a3.5%203.5%200%201%201%200-7h8a3.5%203.5%200%200%201%203.5%203.5M11.5%2013a1.5%201.5%200%201%201%200-3a1.5%201.5%200%200%201%200%203%22%20clip-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
  mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2015%2015%22%3E%3Cpath%20fill%3D%22currentColor%22%20fill-rule%3D%22evenodd%22%20d%3D%22M0%203.5A3.5%203.5%200%200%201%203.5%200h8a3.5%203.5%200%201%201%200%207h-8A3.5%203.5%200%200%201%200%203.5M3.5%202a1.5%201.5%200%201%201%200%203a1.5%201.5%200%200%201%200-3M15%2011.5a3.5%203.5%200%200%201-3.5%203.5h-8a3.5%203.5%200%201%201%200-7h8a3.5%203.5%200%200%201%203.5%203.5M11.5%2013a1.5%201.5%200%201%201%200-3a1.5%201.5%200%200%201%200%203%22%20clip-rule%3D%22evenodd%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/teenyicons/toggle-solid.svg?color=%231a73e8&size=48