Gentleface › Home & household › light-switch
light-switch icon
light-switchLight switch: light switch, wall switch, smart switch, dimmer switch. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Code line-round
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M14.414 14.414C14.219 14.609 13.993 14.758 13.736 14.86C13.5 14.953 13.254 15 13 15L3 15C2.746 15 2.5 14.953 2.264 14.86C2.007 14.758 1.781 14.609 1.586 14.414C1.391 14.219 1.242 13.993 1.14 13.736C1.047 13.5 1 13.254 1 13L1 3C1 2.746 1.047 2.5 1.14 2.264C1.242 2.007 1.391 1.781 1.586 1.586C1.781 1.391 2.007 1.242 2.264 1.14C2.5 1.047 2.746 1 3 1L13 1C13.254 1 13.5 1.047 13.736 1.14C13.993 1.242 14.219 1.391 14.414 1.586C14.609 1.781 14.758 2.007 14.86 2.264C14.953 2.5 15 2.746 15 3L15 13C15 13.254 14.953 13.5 14.86 13.736C14.758 13.993 14.609 14.219 14.414 14.414ZM2.293 13.707C2.488 13.902 2.724 14 3 14L13 14C13.276 14 13.512 13.902 13.707 13.707C13.902 13.512 14 13.276 14 13L14 3C14 2.724 13.902 2.488 13.707 2.293C13.512 2.098 13.276 2 13 2L3 2C2.724 2 2.488 2.098 2.293 2.293C2.098 2.488 2 2.724 2 3L2 13C2 13.276 2.098 13.512 2.293 13.707ZM7 3L7 12C7 12.276 6.902 12.512 6.707 12.707C6.512 12.902 6.276 13 6 13L4 13C3.724 13 3.488 12.902 3.293 12.707C3.098 12.512 3 12.276 3 12L3 3L7 3ZM12.707 3.293C12.902 3.488 13 3.724 13 4L13 13L9 13L9 4C9 3.724 9.098 3.488 9.293 3.293C9.488 3.098 9.724 3 10 3L12 3C12.276 3 12.512 3.098 12.707 3.293ZM12 4L10 4L10 8L12 8L12 4ZM4 8L4 12L6 12L6 8L4 8Z"/></svg>
// Gentleface "light-switch" (line-round), MIT. https://gentleface.com/icons/light-switch
import type { SVGProps } from 'react';
export function LightSwitchIcon(props: SVGProps<SVGSVGElement>) {
return (
<svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
<path d="M14.414 14.414C14.219 14.609 13.993 14.758 13.736 14.86C13.5 14.953 13.254 15 13 15L3 15C2.746 15 2.5 14.953 2.264 14.86C2.007 14.758 1.781 14.609 1.586 14.414C1.391 14.219 1.242 13.993 1.14 13.736C1.047 13.5 1 13.254 1 13L1 3C1 2.746 1.047 2.5 1.14 2.264C1.242 2.007 1.391 1.781 1.586 1.586C1.781 1.391 2.007 1.242 2.264 1.14C2.5 1.047 2.746 1 3 1L13 1C13.254 1 13.5 1.047 13.736 1.14C13.993 1.242 14.219 1.391 14.414 1.586C14.609 1.781 14.758 2.007 14.86 2.264C14.953 2.5 15 2.746 15 3L15 13C15 13.254 14.953 13.5 14.86 13.736C14.758 13.993 14.609 14.219 14.414 14.414ZM2.293 13.707C2.488 13.902 2.724 14 3 14L13 14C13.276 14 13.512 13.902 13.707 13.707C13.902 13.512 14 13.276 14 13L14 3C14 2.724 13.902 2.488 13.707 2.293C13.512 2.098 13.276 2 13 2L3 2C2.724 2 2.488 2.098 2.293 2.293C2.098 2.488 2 2.724 2 3L2 13C2 13.276 2.098 13.512 2.293 13.707ZM7 3L7 12C7 12.276 6.902 12.512 6.707 12.707C6.512 12.902 6.276 13 6 13L4 13C3.724 13 3.488 12.902 3.293 12.707C3.098 12.512 3 12.276 3 12L3 3L7 3ZM12.707 3.293C12.902 3.488 13 3.724 13 4L13 13L9 13L9 4C9 3.724 9.098 3.488 9.293 3.293C9.488 3.098 9.724 3 10 3L12 3C12.276 3 12.512 3.098 12.707 3.293ZM12 4L10 4L10 8L12 8L12 4ZM4 8L4 12L6 12L6 8L4 8Z" />
</svg>
);
}Vue: see /icons/light-switch.md
Svelte: see /icons/light-switch.md
HTML img: see /icons/light-switch.md
CSS: see /icons/light-switch.md
Data URL: see /icons/light-switch.md
Sprite: see /icons/light-switch.md
SwiftUI: see /icons/light-switch.md
Compose: see /icons/light-switch.md
Android XML: see /icons/light-switch.md
Flutter: see /icons/light-switch.md
Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.
With npm: import { LightSwitchIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- light switch, wall switch, smart switch, dimmer switch, rocker switch, dimmer
- Alternatives
outlet: a smart plug or power outlet
- Don’t confuse with
toggle: toggle is the UI switch control
- Tags
- light-switch, wall-switch, switch, rocker, smart-switch, smart-home, light, lighting, home, electric, wall-plate, on-off
- Category
- Home & household
- Component name
LightSwitchIcon- History
- added, released in 0.6.0
- 16 px redrawn
- Since
- version 0.6.0
More home & household icons
air-freshener air-purifier air-vent armchair baby-changing bath bed bed-double bed-off bed-person bed-plus bed-single blender blinds broom broom-sparkle · all home & household icons
For agents
Metadata: /icons/light-switch.json · Markdown: /icons/light-switch.md · SVG: https://gentleface.com/svg/{style}/16/light-switch.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/light-switch.png