ios toggle icon

ios-toggle from IonIcons by Ben Sperry · Regular · MIT Free for personal and commercial use.

Name
ios-toggle
Set
IonIcons
Style
Regular
Viewbox
512×512
License
MIT

1 other variant in IonIcons

Related icons in IonIcons

Use the ios toggle icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path d="M128 320c-26.467 0-48 21.533-48 48s21.533 48 48 48 48-21.533 48-48-21.533-48-48-48z" fill="currentColor"/><path d="M383.5 272h-255C75.205 272 32 315.205 32 368.5S75.205 464 128.5 464h255c53.295 0 96.5-42.205 96.5-95.5S436.795 272 383.5 272zM128 432c-35.346 0-64-28.653-64-64 0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.347-28.654 64-64 64z" fill="currentColor"/><path d="M384 192c26.467 0 48-21.533 48-48s-21.533-48-48-48-48 21.533-48 48 21.533 48 48 48z" fill="currentColor"/><path d="M128.5 240h255c53.295 0 96.5-42.205 96.5-95.5S436.795 48 383.5 48h-255C75.205 48 32 91.205 32 144.5S75.205 240 128.5 240zM384 80c35.346 0 64 28.654 64 64 0 35.347-28.654 64-64 64s-64-28.653-64-64c0-35.346 28.654-64 64-64z" fill="currentColor"/></svg>

React

import type { SVGProps } from "react";

export function IonIosToggle(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path d="M128 320c-26.467 0-48 21.533-48 48s21.533 48 48 48 48-21.533 48-48-21.533-48-48-48z" fill="currentColor"/><path d="M383.5 272h-255C75.205 272 32 315.205 32 368.5S75.205 464 128.5 464h255c53.295 0 96.5-42.205 96.5-95.5S436.795 272 383.5 272zM128 432c-35.346 0-64-28.653-64-64 0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.347-28.654 64-64 64z" fill="currentColor"/><path d="M384 192c26.467 0 48-21.533 48-48s-21.533-48-48-48-48 21.533-48 48 21.533 48 48 48z" fill="currentColor"/><path d="M128.5 240h255c53.295 0 96.5-42.205 96.5-95.5S436.795 48 383.5 48h-255C75.205 48 32 91.205 32 144.5S75.205 240 128.5 240zM384 80c35.346 0 64 28.654 64 64 0 35.347-28.654 64-64 64s-64-28.653-64-64c0-35.346 28.654-64 64-64z" fill="currentColor"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 512 512"><path d="M128 320c-26.467 0-48 21.533-48 48s21.533 48 48 48 48-21.533 48-48-21.533-48-48-48z" fill="currentColor"/><path d="M383.5 272h-255C75.205 272 32 315.205 32 368.5S75.205 464 128.5 464h255c53.295 0 96.5-42.205 96.5-95.5S436.795 272 383.5 272zM128 432c-35.346 0-64-28.653-64-64 0-35.346 28.654-64 64-64s64 28.654 64 64c0 35.347-28.654 64-64 64z" fill="currentColor"/><path d="M384 192c26.467 0 48-21.533 48-48s-21.533-48-48-48-48 21.533-48 48 21.533 48 48 48z" fill="currentColor"/><path d="M128.5 240h255c53.295 0 96.5-42.205 96.5-95.5S436.795 48 383.5 48h-255C75.205 48 32 91.205 32 144.5S75.205 240 128.5 240zM384 80c35.346 0 64 28.654 64 64 0 35.347-28.654 64-64 64s-64-28.653-64-64c0-35.346 28.654-64 64-64z" fill="currentColor"/></svg>
</template>

CSS

.icon-ios-toggle {
  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%20512%20512%22%3E%3Cpath%20d%3D%22M128%20320c-26.467%200-48%2021.533-48%2048s21.533%2048%2048%2048%2048-21.533%2048-48-21.533-48-48-48z%22%20fill%3D%22currentColor%22%2F%3E%3Cpath%20d%3D%22M383.5%20272h-255C75.205%20272%2032%20315.205%2032%20368.5S75.205%20464%20128.5%20464h255c53.295%200%2096.5-42.205%2096.5-95.5S436.795%20272%20383.5%20272zM128%20432c-35.346%200-64-28.653-64-64%200-35.346%2028.654-64%2064-64s64%2028.654%2064%2064c0%2035.347-28.654%2064-64%2064z%22%20fill%3D%22currentColor%22%2F%3E%3Cpath%20d%3D%22M384%20192c26.467%200%2048-21.533%2048-48s-21.533-48-48-48-48%2021.533-48%2048%2021.533%2048%2048%2048z%22%20fill%3D%22currentColor%22%2F%3E%3Cpath%20d%3D%22M128.5%20240h255c53.295%200%2096.5-42.205%2096.5-95.5S436.795%2048%20383.5%2048h-255C75.205%2048%2032%2091.205%2032%20144.5S75.205%20240%20128.5%20240zM384%2080c35.346%200%2064%2028.654%2064%2064%200%2035.347-28.654%2064-64%2064s-64-28.653-64-64c0-35.346%2028.654-64%2064-64z%22%20fill%3D%22currentColor%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%20512%20512%22%3E%3Cpath%20d%3D%22M128%20320c-26.467%200-48%2021.533-48%2048s21.533%2048%2048%2048%2048-21.533%2048-48-21.533-48-48-48z%22%20fill%3D%22currentColor%22%2F%3E%3Cpath%20d%3D%22M383.5%20272h-255C75.205%20272%2032%20315.205%2032%20368.5S75.205%20464%20128.5%20464h255c53.295%200%2096.5-42.205%2096.5-95.5S436.795%20272%20383.5%20272zM128%20432c-35.346%200-64-28.653-64-64%200-35.346%2028.654-64%2064-64s64%2028.654%2064%2064c0%2035.347-28.654%2064-64%2064z%22%20fill%3D%22currentColor%22%2F%3E%3Cpath%20d%3D%22M384%20192c26.467%200%2048-21.533%2048-48s-21.533-48-48-48-48%2021.533-48%2048%2021.533%2048%2048%2048z%22%20fill%3D%22currentColor%22%2F%3E%3Cpath%20d%3D%22M128.5%20240h255c53.295%200%2096.5-42.205%2096.5-95.5S436.795%2048%20383.5%2048h-255C75.205%2048%2032%2091.205%2032%20144.5S75.205%20240%20128.5%20240zM384%2080c35.346%200%2064%2028.654%2064%2064%200%2035.347-28.654%2064-64%2064s-64-28.653-64-64c0-35.346%2028.654-64%2064-64z%22%20fill%3D%22currentColor%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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