toggle on icon
toggle-on from Material Symbols by Google · Regular · UI Actions · Apache-2.0 Free for personal and commercial use.
- Name
- toggle-on
- Set
- Material Symbols
- Style
- Regular
- Category
- UI Actions
- Viewbox
- 24×24
- License
- Apache 2.0
- Aliases
- toggle-on-rounded, toggle-on-sharp
1 other variant in Material Symbols
The same icon in other sets
More ui actions icons from Material Symbols
Use the toggle on icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M7 18q-2.5 0-4.25-1.75T1 12t1.75-4.25T7 6h10q2.5 0 4.25 1.75T23 12t-1.75 4.25T17 18zm12.125-3.875Q20 13.25 20 12t-.875-2.125T17 9t-2.125.875T14 12t.875 2.125T17 15t2.125-.875"/></svg>
React
import type { SVGProps } from "react";
export function MaterialSymbolsToggleOn(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="M7 18q-2.5 0-4.25-1.75T1 12t1.75-4.25T7 6h10q2.5 0 4.25 1.75T23 12t-1.75 4.25T17 18zm12.125-3.875Q20 13.25 20 12t-.875-2.125T17 9t-2.125.875T14 12t.875 2.125T17 15t2.125-.875"/></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M7 18q-2.5 0-4.25-1.75T1 12t1.75-4.25T7 6h10q2.5 0 4.25 1.75T23 12t-1.75 4.25T17 18zm12.125-3.875Q20 13.25 20 12t-.875-2.125T17 9t-2.125.875T14 12t.875 2.125T17 15t2.125-.875"/></svg> </template>
CSS
.icon-toggle-on {
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%22M7%2018q-2.5%200-4.25-1.75T1%2012t1.75-4.25T7%206h10q2.5%200%204.25%201.75T23%2012t-1.75%204.25T17%2018zm12.125-3.875Q20%2013.25%2020%2012t-.875-2.125T17%209t-2.125.875T14%2012t.875%202.125T17%2015t2.125-.875%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%22M7%2018q-2.5%200-4.25-1.75T1%2012t1.75-4.25T7%206h10q2.5%200%204.25%201.75T23%2012t-1.75%204.25T17%2018zm12.125-3.875Q20%2013.25%2020%2012t-.875-2.125T17%209t-2.125.875T14%2012t.875%202.125T17%2015t2.125-.875%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/material-symbols/toggle-on.svg?color=%231a73e8&size=48