# plug icon

Plug. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/plug

- Category: Devices & hardware
- Use it for: plug, power plug, plugged in, electric plug, power cord
- Tags: plug, power, electricity, socket, outlet, charge, cord
- Component name: PlugIcon
- Added: 2026-10-14

## 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

## Files

Each SVG is 16 × 16 with fill="currentColor". Keep it at 16 px or an exact multiple (32, 48) on whole pixels: a fractional size or position blurs it.

- line-round: https://gentleface.com/svg/line-round/16/plug.svg · PNG https://gentleface.com/png/line-round/16/plug.png · https://gentleface.com/png/line-round/32/plug.png · https://gentleface.com/png/line-round/48/plug.png
- line-soft: https://gentleface.com/svg/line-soft/16/plug.svg · PNG https://gentleface.com/png/line-soft/16/plug.png · https://gentleface.com/png/line-soft/32/plug.png · https://gentleface.com/png/line-soft/48/plug.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/plug.svg · PNG https://gentleface.com/png/line-sharp/16/plug.png · https://gentleface.com/png/line-sharp/32/plug.png · https://gentleface.com/png/line-sharp/48/plug.png
- solid-round: https://gentleface.com/svg/solid-round/16/plug.svg · PNG https://gentleface.com/png/solid-round/16/plug.png · https://gentleface.com/png/solid-round/32/plug.png · https://gentleface.com/png/solid-round/48/plug.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/plug.svg · PNG https://gentleface.com/png/solid-soft/16/plug.png · https://gentleface.com/png/solid-soft/32/plug.png · https://gentleface.com/png/solid-soft/48/plug.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/plug.svg · PNG https://gentleface.com/png/solid-sharp/16/plug.png · https://gentleface.com/png/solid-sharp/32/plug.png · https://gentleface.com/png/solid-sharp/48/plug.png

The SVG of every style: https://gentleface.com/icons/plug.json (`svg`).

## Code (line-round)

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. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```svg
<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>
```

### React

```tsx
// 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

```vue
<!-- Gentleface "plug" (line-round), MIT. https://gentleface.com/icons/plug -->
<template>
  <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>
</template>
```

### Svelte

```svelte
<!-- Gentleface "plug" (line-round), MIT. https://gentleface.com/icons/plug -->
<script>
  let props = $props();
</script>

<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>
```

### HTML img

```html
<!-- Gentleface "plug" (line-round), MIT. https://gentleface.com/icons/plug. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/plug.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "plug" (line-round), MIT. https://gentleface.com/icons/plug. Takes the text color. */
.icon-plug {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath 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'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath 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'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath 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'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "plug" (line-round), MIT. https://gentleface.com/icons/plug
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#plug"/></svg>
```

### SwiftUI

```swift
// Gentleface "plug" (line-round), MIT. https://gentleface.com/icons/plug
import SwiftUI

struct PlugIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 9, y: 1.5))
        p.addCurve(to: CGPoint(x: 9.144, y: 1.144), control1: CGPoint(x: 9, y: 1.359), control2: CGPoint(x: 9.048, y: 1.241))
        p.addCurve(to: CGPoint(x: 9.5, y: 1), control1: CGPoint(x: 9.241, y: 1.048), control2: CGPoint(x: 9.359, y: 1))
        p.addCurve(to: CGPoint(x: 9.856, y: 1.144), control1: CGPoint(x: 9.641, y: 1), control2: CGPoint(x: 9.759, y: 1.048))
        p.addCurve(to: CGPoint(x: 10, y: 1.5), control1: CGPoint(x: 9.952, y: 1.241), control2: CGPoint(x: 10, y: 1.359))
        p.addLine(to: CGPoint(x: 10, y: 4))
        p.addLine(to: CGPoint(x: 11, y: 4))
        p.addCurve(to: CGPoint(x: 11.707, y: 4.293), control1: CGPoint(x: 11.276, y: 4), control2: CGPoint(x: 11.512, y: 4.098))
        p.addCurve(to: CGPoint(x: 12, y: 5), control1: CGPoint(x: 11.902, y: 4.488), control2: CGPoint(x: 12, y: 4.724))
        p.addLine(to: CGPoint(x: 12, y: 7.5))
        p.addCurve(to: CGPoint(x: 11.684, y: 9.156), control1: CGPoint(x: 12, y: 8.072), control2: CGPoint(x: 11.895, y: 8.624))
        p.addCurve(to: CGPoint(x: 10.682, y: 10.682), control1: CGPoint(x: 11.455, y: 9.734), control2: CGPoint(x: 11.121, y: 10.243))
        p.addCurve(to: CGPoint(x: 9.156, y: 11.684), control1: CGPoint(x: 10.243, y: 11.121), control2: CGPoint(x: 9.734, y: 11.455))
        p.addCurve(to: CGPoint(x: 8, y: 11.973), control1: CGPoint(x: 8.781, y: 11.833), control2: CGPoint(x: 8.395, y: 11.929))
        p.addLine(to: CGPoint(x: 8, y: 14.5))
        p.addCurve(to: CGPoint(x: 7.856, y: 14.856), control1: CGPoint(x: 8, y: 14.641), control2: CGPoint(x: 7.952, y: 14.759))
        p.addCurve(to: CGPoint(x: 7.5, y: 15), control1: CGPoint(x: 7.759, y: 14.952), control2: CGPoint(x: 7.641, y: 15))
        p.addCurve(to: CGPoint(x: 7.144, y: 14.856), control1: CGPoint(x: 7.359, y: 15), control2: CGPoint(x: 7.241, y: 14.952))
        p.addCurve(to: CGPoint(x: 7, y: 14.5), control1: CGPoint(x: 7.048, y: 14.759), control2: CGPoint(x: 7, y: 14.641))
        p.addLine(to: CGPoint(x: 7, y: 11.973))
        p.addCurve(to: CGPoint(x: 5.844, y: 11.684), control1: CGPoint(x: 6.605, y: 11.929), control2: CGPoint(x: 6.219, y: 11.833))
        p.addCurve(to: CGPoint(x: 4.318, y: 10.682), control1: CGPoint(x: 5.266, y: 11.455), control2: CGPoint(x: 4.757, y: 11.121))
        p.addCurve(to: CGPoint(x: 3.316, y: 9.156), control1: CGPoint(x: 3.879, y: 10.243), control2: CGPoint(x: 3.545, y: 9.734))
        p.addCurve(to: CGPoint(x: 3, y: 7.5), control1: CGPoint(x: 3.105, y: 8.624), control2: CGPoint(x: 3, y: 8.072))
        p.addLine(to: CGPoint(x: 3, y: 5))
        p.addCurve(to: CGPoint(x: 3.293, y: 4.293), control1: CGPoint(x: 3, y: 4.724), control2: CGPoint(x: 3.098, y: 4.488))
        p.addCurve(to: CGPoint(x: 4, y: 4), control1: CGPoint(x: 3.488, y: 4.098), control2: CGPoint(x: 3.724, y: 4))
        p.addLine(to: CGPoint(x: 5, y: 4))
        p.addLine(to: CGPoint(x: 5, y: 1.5))
        p.addCurve(to: CGPoint(x: 5.144, y: 1.144), control1: CGPoint(x: 5, y: 1.359), control2: CGPoint(x: 5.048, y: 1.241))
        p.addCurve(to: CGPoint(x: 5.5, y: 1), control1: CGPoint(x: 5.241, y: 1.048), control2: CGPoint(x: 5.359, y: 1))
        p.addCurve(to: CGPoint(x: 5.856, y: 1.144), control1: CGPoint(x: 5.641, y: 1), control2: CGPoint(x: 5.759, y: 1.048))
        p.addCurve(to: CGPoint(x: 6, y: 1.5), control1: CGPoint(x: 5.952, y: 1.241), control2: CGPoint(x: 6, y: 1.359))
        p.addLine(to: CGPoint(x: 6, y: 4))
        p.addLine(to: CGPoint(x: 9, y: 4))
        p.addLine(to: CGPoint(x: 9, y: 1.5))
        p.closeSubpath()
        p.move(to: CGPoint(x: 4.246, y: 8.788))
        p.addCurve(to: CGPoint(x: 5.025, y: 9.975), control1: CGPoint(x: 4.424, y: 9.238), control2: CGPoint(x: 4.683, y: 9.633))
        p.addCurve(to: CGPoint(x: 6.212, y: 10.754), control1: CGPoint(x: 5.367, y: 10.317), control2: CGPoint(x: 5.762, y: 10.576))
        p.addCurve(to: CGPoint(x: 7.5, y: 11), control1: CGPoint(x: 6.625, y: 10.918), control2: CGPoint(x: 7.055, y: 11))
        p.addCurve(to: CGPoint(x: 8.788, y: 10.754), control1: CGPoint(x: 7.945, y: 11), control2: CGPoint(x: 8.375, y: 10.918))
        p.addCurve(to: CGPoint(x: 9.975, y: 9.975), control1: CGPoint(x: 9.238, y: 10.576), control2: CGPoint(x: 9.633, y: 10.317))
        p.addCurve(to: CGPoint(x: 10.754, y: 8.788), control1: CGPoint(x: 10.317, y: 9.633), control2: CGPoint(x: 10.576, y: 9.238))
        p.addCurve(to: CGPoint(x: 11, y: 7.5), control1: CGPoint(x: 10.918, y: 8.375), control2: CGPoint(x: 11, y: 7.945))
        p.addLine(to: CGPoint(x: 11, y: 5))
        p.addLine(to: CGPoint(x: 4, y: 5))
        p.addLine(to: CGPoint(x: 4, y: 7.5))
        p.addCurve(to: CGPoint(x: 4.246, y: 8.788), control1: CGPoint(x: 4, y: 7.945), control2: CGPoint(x: 4.082, y: 8.375))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// PlugIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "plug" (line-round), MIT. https://gentleface.com/icons/plug
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val PlugIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "plug", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("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"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(PlugIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_plug.xml · Gentleface "plug" (line-round), MIT. https://gentleface.com/icons/plug -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="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"/>
</vector>
```

### Flutter

```dart
// Gentleface "plug" (line-round), MIT. https://gentleface.com/icons/plug
import 'package:flutter/widgets.dart';

class PlugIcon extends StatelessWidget {
  const PlugIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _PlugIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _PlugIconPainter extends CustomPainter {
  _PlugIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(9, 1.5)
      ..cubicTo(9, 1.359, 9.048, 1.241, 9.144, 1.144)
      ..cubicTo(9.241, 1.048, 9.359, 1, 9.5, 1)
      ..cubicTo(9.641, 1, 9.759, 1.048, 9.856, 1.144)
      ..cubicTo(9.952, 1.241, 10, 1.359, 10, 1.5)
      ..lineTo(10, 4)
      ..lineTo(11, 4)
      ..cubicTo(11.276, 4, 11.512, 4.098, 11.707, 4.293)
      ..cubicTo(11.902, 4.488, 12, 4.724, 12, 5)
      ..lineTo(12, 7.5)
      ..cubicTo(12, 8.072, 11.895, 8.624, 11.684, 9.156)
      ..cubicTo(11.455, 9.734, 11.121, 10.243, 10.682, 10.682)
      ..cubicTo(10.243, 11.121, 9.734, 11.455, 9.156, 11.684)
      ..cubicTo(8.781, 11.833, 8.395, 11.929, 8, 11.973)
      ..lineTo(8, 14.5)
      ..cubicTo(8, 14.641, 7.952, 14.759, 7.856, 14.856)
      ..cubicTo(7.759, 14.952, 7.641, 15, 7.5, 15)
      ..cubicTo(7.359, 15, 7.241, 14.952, 7.144, 14.856)
      ..cubicTo(7.048, 14.759, 7, 14.641, 7, 14.5)
      ..lineTo(7, 11.973)
      ..cubicTo(6.605, 11.929, 6.219, 11.833, 5.844, 11.684)
      ..cubicTo(5.266, 11.455, 4.757, 11.121, 4.318, 10.682)
      ..cubicTo(3.879, 10.243, 3.545, 9.734, 3.316, 9.156)
      ..cubicTo(3.105, 8.624, 3, 8.072, 3, 7.5)
      ..lineTo(3, 5)
      ..cubicTo(3, 4.724, 3.098, 4.488, 3.293, 4.293)
      ..cubicTo(3.488, 4.098, 3.724, 4, 4, 4)
      ..lineTo(5, 4)
      ..lineTo(5, 1.5)
      ..cubicTo(5, 1.359, 5.048, 1.241, 5.144, 1.144)
      ..cubicTo(5.241, 1.048, 5.359, 1, 5.5, 1)
      ..cubicTo(5.641, 1, 5.759, 1.048, 5.856, 1.144)
      ..cubicTo(5.952, 1.241, 6, 1.359, 6, 1.5)
      ..lineTo(6, 4)
      ..lineTo(9, 4)
      ..lineTo(9, 1.5)
      ..close()
      ..moveTo(4.246, 8.788)
      ..cubicTo(4.424, 9.238, 4.683, 9.633, 5.025, 9.975)
      ..cubicTo(5.367, 10.317, 5.762, 10.576, 6.212, 10.754)
      ..cubicTo(6.625, 10.918, 7.055, 11, 7.5, 11)
      ..cubicTo(7.945, 11, 8.375, 10.918, 8.788, 10.754)
      ..cubicTo(9.238, 10.576, 9.633, 10.317, 9.975, 9.975)
      ..cubicTo(10.317, 9.633, 10.576, 9.238, 10.754, 8.788)
      ..cubicTo(10.918, 8.375, 11, 7.945, 11, 7.5)
      ..lineTo(11, 5)
      ..lineTo(4, 5)
      ..lineTo(4, 7.5)
      ..cubicTo(4, 7.945, 4.082, 8.375, 4.246, 8.788)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_PlugIconPainter old) => old.color != color;
}
```
