Gentleface › Devices & hardware › plug
plug icon
plugPlug: plug, power plug, plugged in, electric plug. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.
Animated plug-in · line-round
A socket face draws on along the top edge. The plug pushes up into it until the body meets the face and the prongs are hidden in the wall, the cord jolts, then the plug is drawn back out and the socket clears.
Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.25 s to 2.35 s. Examples and helper.
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="M9 1.5C9 1.359 9.048 1.241 9.144 1.144C9.241 1.048 9.359 1 9.5 1C9.641 1 9.759 1.048 9.856 1.144C9.952 1.241 10 1.359 10 1.5L10 4L11 4C11.276 4 11.512 4.098 11.707 4.293C11.902 4.488 12 4.724 12 5L12 7.5C12 8.072 11.895 8.624 11.684 9.156C11.455 9.734 11.121 10.243 10.682 10.682C10.243 11.121 9.734 11.455 9.156 11.684C8.781 11.833 8.395 11.929 8 11.973L8 14.5C8 14.641 7.952 14.759 7.856 14.856C7.759 14.952 7.641 15 7.5 15C7.359 15 7.241 14.952 7.144 14.856C7.048 14.759 7 14.641 7 14.5L7 11.973C6.605 11.929 6.219 11.833 5.844 11.684C5.266 11.455 4.757 11.121 4.318 10.682C3.879 10.243 3.545 9.734 3.316 9.156C3.105 8.624 3 8.072 3 7.5L3 5C3 4.724 3.098 4.488 3.293 4.293C3.488 4.098 3.724 4 4 4L5 4L5 1.5C5 1.359 5.048 1.241 5.144 1.144C5.241 1.048 5.359 1 5.5 1C5.641 1 5.759 1.048 5.856 1.144C5.952 1.241 6 1.359 6 1.5L6 4L9 4L9 1.5ZM4.246 8.788C4.424 9.238 4.683 9.633 5.025 9.975C5.367 10.317 5.762 10.576 6.212 10.754C6.625 10.918 7.055 11 7.5 11C7.945 11 8.375 10.918 8.788 10.754C9.238 10.576 9.633 10.317 9.975 9.975C10.317 9.633 10.576 9.238 10.754 8.788C10.918 8.375 11 7.945 11 7.5L11 5L4 5L4 7.5C4 7.945 4.082 8.375 4.246 8.788Z"/></svg>
// Gentleface "plug" (line-round), MIT. https://gentleface.com/icons/plug
import type { SVGProps } from 'react';
export function PlugIcon(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="M9 1.5C9 1.359 9.048 1.241 9.144 1.144C9.241 1.048 9.359 1 9.5 1C9.641 1 9.759 1.048 9.856 1.144C9.952 1.241 10 1.359 10 1.5L10 4L11 4C11.276 4 11.512 4.098 11.707 4.293C11.902 4.488 12 4.724 12 5L12 7.5C12 8.072 11.895 8.624 11.684 9.156C11.455 9.734 11.121 10.243 10.682 10.682C10.243 11.121 9.734 11.455 9.156 11.684C8.781 11.833 8.395 11.929 8 11.973L8 14.5C8 14.641 7.952 14.759 7.856 14.856C7.759 14.952 7.641 15 7.5 15C7.359 15 7.241 14.952 7.144 14.856C7.048 14.759 7 14.641 7 14.5L7 11.973C6.605 11.929 6.219 11.833 5.844 11.684C5.266 11.455 4.757 11.121 4.318 10.682C3.879 10.243 3.545 9.734 3.316 9.156C3.105 8.624 3 8.072 3 7.5L3 5C3 4.724 3.098 4.488 3.293 4.293C3.488 4.098 3.724 4 4 4L5 4L5 1.5C5 1.359 5.048 1.241 5.144 1.144C5.241 1.048 5.359 1 5.5 1C5.641 1 5.759 1.048 5.856 1.144C5.952 1.241 6 1.359 6 1.5L6 4L9 4L9 1.5ZM4.246 8.788C4.424 9.238 4.683 9.633 5.025 9.975C5.367 10.317 5.762 10.576 6.212 10.754C6.625 10.918 7.055 11 7.5 11C7.945 11 8.375 10.918 8.788 10.754C9.238 10.576 9.633 10.317 9.975 9.975C10.317 9.633 10.576 9.238 10.754 8.788C10.918 8.375 11 7.945 11 7.5L11 5L4 5L4 7.5C4 7.945 4.082 8.375 4.246 8.788Z" />
</svg>
);
}Vue: see /icons/plug.md
Svelte: see /icons/plug.md
HTML img: see /icons/plug.md
CSS: see /icons/plug.md
Data URL: see /icons/plug.md
Sprite: see /icons/plug.md
SwiftUI: see /icons/plug.md
Compose: see /icons/plug.md
Android XML: see /icons/plug.md
Flutter: see /icons/plug.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 { PlugIcon } from '@gentleface/react'; (setup).
Meaning
- Use it for
- plug, power plug, plugged in, electric plug, power cord, connect, connection, travel adapter, plug adapter
- Alternatives
cable: a data cable or a cord (cable)battery-charging: the battery is charging (charging)
- Also fits
- electricity: a power plug or plugged in
- integration: a physical or power connection (plug)
- battery charging: plugged in to power (plugged-in)
- cable: a power plug (power-plug)
- power outlet: a plug, the plugged-in state or a power connection
- ev charging: a power plug
- Tags
- plug, power, electricity, socket, outlet, charge, cord
- Category
- Devices & hardware
- Component name
PlugIcon- History
- added
- released in 0.1.0
- 20 px drawn, 24 px drawn
- Since
- version 0.1.0
Family 6
More devices & hardware icons
av-receiver backlight backspace battery battery-alert battery-arrow-right battery-charging battery-check battery-clock battery-full battery-gear battery-low battery-medium battery-off battery-plus battery-question · all devices & hardware icons
For agents
Metadata: /icons/plug.json · Markdown: /icons/plug.md · SVG: https://gentleface.com/svg/{style}/16/plug.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/plug.png