switch icon
switch from Material Symbols Light by Google · Regular · Household · Apache-2.0 Free for personal and commercial use.
- Name
- switch
- Set
- Material Symbols Light
- Style
- Regular
- Category
- Household
- Viewbox
- 24×24
- License
- Apache 2.0
5 other variants in Material Symbols Light
The same icon in other sets
More household icons from Material Symbols Light
Use the switch icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M6.616 21q-.691 0-1.153-.462T5 19.385V4.615q0-.69.463-1.152T6.616 3h10.788q.69 0 1.153.463t.462 1.153v14.769q0 .69-.462 1.153T17.404 21zm2.096-4.711h6.577V7.73H8.71zm1-1v-4.673h4.577v4.673zm2.285-9.25q.29 0 .483-.19t.193-.48t-.19-.484t-.48-.193t-.483.19t-.193.48t.19.483t.48.193m0 13.289q.29 0 .483-.19t.193-.48t-.19-.483t-.48-.193t-.483.19t-.193.48t.19.483t.48.193"/></svg>
React
import type { SVGProps } from "react";
export function MaterialSymbolsLightSwitch(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M6.616 21q-.691 0-1.153-.462T5 19.385V4.615q0-.69.463-1.152T6.616 3h10.788q.69 0 1.153.463t.462 1.153v14.769q0 .69-.462 1.153T17.404 21zm2.096-4.711h6.577V7.73H8.71zm1-1v-4.673h4.577v4.673zm2.285-9.25q.29 0 .483-.19t.193-.48t-.19-.484t-.48-.193t-.483.19t-.193.48t.19.483t.48.193m0 13.289q.29 0 .483-.19t.193-.48t-.19-.483t-.48-.193t-.483.19t-.193.48t.19.483t.48.193"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M6.616 21q-.691 0-1.153-.462T5 19.385V4.615q0-.69.463-1.152T6.616 3h10.788q.69 0 1.153.463t.462 1.153v14.769q0 .69-.462 1.153T17.404 21zm2.096-4.711h6.577V7.73H8.71zm1-1v-4.673h4.577v4.673zm2.285-9.25q.29 0 .483-.19t.193-.48t-.19-.484t-.48-.193t-.483.19t-.193.48t.19.483t.48.193m0 13.289q.29 0 .483-.19t.193-.48t-.19-.483t-.48-.193t-.483.19t-.193.48t.19.483t.48.193"/></svg> </template>
CSS
.icon-switch {
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%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M6.616%2021q-.691%200-1.153-.462T5%2019.385V4.615q0-.69.463-1.152T6.616%203h10.788q.69%200%201.153.463t.462%201.153v14.769q0%20.69-.462%201.153T17.404%2021zm2.096-4.711h6.577V7.73H8.71zm1-1v-4.673h4.577v4.673zm2.285-9.25q.29%200%20.483-.19t.193-.48t-.19-.484t-.48-.193t-.483.19t-.193.48t.19.483t.48.193m0%2013.289q.29%200%20.483-.19t.193-.48t-.19-.483t-.48-.193t-.483.19t-.193.48t.19.483t.48.193%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%2024%2024%22%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M6.616%2021q-.691%200-1.153-.462T5%2019.385V4.615q0-.69.463-1.152T6.616%203h10.788q.69%200%201.153.463t.462%201.153v14.769q0%20.69-.462%201.153T17.404%2021zm2.096-4.711h6.577V7.73H8.71zm1-1v-4.673h4.577v4.673zm2.285-9.25q.29%200%20.483-.19t.193-.48t-.19-.484t-.48-.193t-.483.19t-.193.48t.19.483t.48.193m0%2013.289q.29%200%20.483-.19t.193-.48t-.19-.483t-.48-.193t-.483.19t-.193.48t.19.483t.48.193%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/material-symbols-light/switch.svg?color=%231a73e8&size=48