ICONYZ
Português (Brasil)
Ícone Light Switch 20 de Energy Icons

Ícone Light Switch 20

energy-icons:light-switch-20

O ícone Light Switch 20 (energy-icons:light-switch-20) é um ícone SVG gratuito da coleção Energy Icons de Sam Passmore. Ele é desenhado em uma grade de 20 × 20. Energy Icons são publicados sob a licença MIT, que permite o uso em projetos pessoais e comerciais. Copie como código SVG, JSX, Vue ou Svelte, ou baixe o arquivo SVG.

Coleção
Energy Icons
Autor
Sam Passmore
Licença
MIT
Tamanho
20 × 20
Tags
lightswitch
Baixar SVG

Código SVG

<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M15.333 4.167c0-.645-.521-1.167-1.166-1.167H5.833c-.644 0-1.166.522-1.166 1.167v11.666c0 .645.522 1.167 1.166 1.167h8.334c.645 0 1.166-.522 1.166-1.167zm1 11.666A2.166 2.166 0 0 1 14.167 18H5.833a2.166 2.166 0 0 1-2.166-2.167V4.167C3.667 2.97 4.635 2 5.833 2h8.334c1.197 0 2.166.97 2.166 2.167z"/><path fill="currentColor" d="M12 6.667a.33.33 0 0 0-.333-.334H8.333A.33.33 0 0 0 8 6.667v6.666c0 .185.15.334.333.334h3.334c.184 0 .333-.15.333-.334zm1 6.666c0 .733-.593 1.334-1.333 1.334H8.333c-.74 0-1.333-.6-1.333-1.334V6.667a1.33 1.33 0 0 1 1.333-1.334h3.334A1.33 1.33 0 0 1 13 6.667z"/><path fill="currentColor" d="M12.5 9.5v1h-5v-1z"/></svg>

Como usar o ícone Light Switch 20

React

import { Icon } from "@iconify/react";

<Icon icon="energy-icons:light-switch-20" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="energy-icons:light-switch-20" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="energy-icons:light-switch-20" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[energy-icons--light-switch-20]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/energy-icons -->
<div class="i-energy-icons:light-switch-20"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="energy-icons:light-switch-20"></iconify-icon>

Imagem HTML

<img src="https://iconyz.com/api/public/svg/energy-icons/light-switch-20.svg" alt="Ícone Light Switch 20" width="24" height="24">

Ícones relacionados em Energy Icons

Perguntas frequentes sobre Ícone Light Switch 20

O ícone Light Switch 20 é grátis para uso comercial?

Sim. Energy Icons são publicados sob a licença MIT, que permite o uso em projetos pessoais e comerciais.

Como uso o ícone Light Switch 20 no React?

Instale @iconify/react e renderize <Icon icon="energy-icons:light-switch-20" />, ou use “Copiar código” nesta página para obter um componente React independente.

Como adiciono o ícone Light Switch 20 a uma página web?

Vincule o arquivo SVG em uma tag de imagem: <img src="https://iconyz.com/api/public/svg/energy-icons/light-switch-20.svg" alt="Ícone Light Switch 20">, ou cole o código SVG diretamente na página para estilizá-lo com CSS.

Ver todos os Energy Icons →