Light Switch 48 icon
energy-icons:light-switch-48
The Light Switch 48 icon (energy-icons:light-switch-48) is a free SVG icon from the Energy Icons set by Sam Passmore. It is drawn on a 48 × 48 grid. Energy Icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Energy Icons
- Author
- Sam Passmore
- License
- MIT
- Size
- 48 × 48
- Tags
- lightswitch
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path fill="currentColor" d="M37 10c0-1.658-1.342-3-3-3H14c-1.658 0-3 1.342-3 3v28c0 1.658 1.342 3 3 3h20c1.658 0 3-1.342 3-3zm2 28a5 5 0 0 1-5 5H14a5 5 0 0 1-5-5V10a5 5 0 0 1 5-5h20a5 5 0 0 1 5 5z"/><path fill="currentColor" d="M29 16c0-.558-.442-1-1-1h-8c-.558 0-1 .442-1 1v16a1 1 0 0 0 1 1h8a1 1 0 0 0 1-1zm2 16a3 3 0 0 1-3 3h-8a3 3 0 0 1-3-3V16c0-1.662 1.338-3 3-3h8c1.662 0 3 1.338 3 3z"/><path fill="currentColor" d="M30 23v2H18v-2z"/></svg>How to use the Light Switch 48 icon
React
import { Icon } from "@iconify/react";
<Icon icon="energy-icons:light-switch-48" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="energy-icons:light-switch-48" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="energy-icons:light-switch-48" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[energy-icons--light-switch-48]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/energy-icons -->
<div class="i-energy-icons:light-switch-48"></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-48"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/energy-icons/light-switch-48.svg" alt="Light Switch 48 icon" width="24" height="24">Related icons in Energy Icons
Light Switch 48 icon FAQ
Is the Light Switch 48 icon free for commercial use?
Yes. Energy Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Light Switch 48 icon in React?
Install @iconify/react and render <Icon icon="energy-icons:light-switch-48" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Light Switch 48 icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/energy-icons/light-switch-48.svg" alt="Light Switch 48 icon">, or paste the SVG code inline to style it with CSS.