Icône Light Switch 20
energy-icons:light-switch-20
L'icône Light Switch 20 (energy-icons:light-switch-20) est une icône SVG gratuite de la collection Energy Icons par Sam Passmore. Elle est dessinée sur une grille de 20 × 20. Les Energy Icons sont publiées sous la licence MIT, qui autorise leur utilisation dans des projets personnels et commerciaux. Copiez-la en code SVG, JSX, Vue ou Svelte, ou téléchargez le fichier SVG.
- Collection
- Energy Icons
- Auteur
- Sam Passmore
- Licence
- MIT
- Taille
- 20 × 20
- Mots-clés
- lightswitch
Code 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>Comment utiliser l'icône 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>Image HTML
<img src="https://iconyz.com/api/public/svg/energy-icons/light-switch-20.svg" alt="Icône Light Switch 20" width="24" height="24">Icônes similaires dans Energy Icons
FAQ : Icône Light Switch 20
L'icône Light Switch 20 est-elle gratuite pour un usage commercial ?
Oui. Les Energy Icons sont publiées sous la licence MIT, qui autorise leur utilisation dans des projets personnels et commerciaux.
Comment utiliser l'icône Light Switch 20 dans React ?
Installez @iconify/react et affichez <Icon icon="energy-icons:light-switch-20" />, ou utilisez « Copier le code » sur cette page pour obtenir un composant React autonome.
Comment ajouter l'icône Light Switch 20 à une page web ?
Liez le fichier SVG dans une balise image : <img src="https://iconyz.com/api/public/svg/energy-icons/light-switch-20.svg" alt="Icône Light Switch 20">, ou collez le code SVG directement dans la page pour le styliser en CSS.