# soap icon

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

- Category: Home & household
- Use it for: soap, hand washing, hygiene, wash hands, soap dispenser, hand soap
- Tags: soap, hand-washing, hygiene, dispenser, pump, liquid-soap, clean, wash, sanitizer
- Component name: SoapIcon
- Added: 2026-10-15

## Alternatives

- `spray-bottle`: disinfectant or a cleaning spray
- `toothbrush`: oral hygiene

## Also fits

- spray bottle: hand washing or hygiene

## 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/soap.svg · PNG https://gentleface.com/png/line-round/16/soap.png · https://gentleface.com/png/line-round/32/soap.png · https://gentleface.com/png/line-round/48/soap.png
- line-soft: https://gentleface.com/svg/line-soft/16/soap.svg · PNG https://gentleface.com/png/line-soft/16/soap.png · https://gentleface.com/png/line-soft/32/soap.png · https://gentleface.com/png/line-soft/48/soap.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/soap.svg · PNG https://gentleface.com/png/line-sharp/16/soap.png · https://gentleface.com/png/line-sharp/32/soap.png · https://gentleface.com/png/line-sharp/48/soap.png
- solid-round: https://gentleface.com/svg/solid-round/16/soap.svg · PNG https://gentleface.com/png/solid-round/16/soap.png · https://gentleface.com/png/solid-round/32/soap.png · https://gentleface.com/png/solid-round/48/soap.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/soap.svg · PNG https://gentleface.com/png/solid-soft/16/soap.png · https://gentleface.com/png/solid-soft/32/soap.png · https://gentleface.com/png/solid-soft/48/soap.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/soap.svg · PNG https://gentleface.com/png/solid-sharp/16/soap.png · https://gentleface.com/png/solid-sharp/32/soap.png · https://gentleface.com/png/solid-sharp/48/soap.png

The SVG of every style: https://gentleface.com/icons/soap.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="M4.856 2.856C4.759 2.952 4.641 3 4.5 3C4.359 3 4.241 2.952 4.144 2.856C4.048 2.759 4 2.641 4 2.5L4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L9.5 1C9.641 1 9.759 1.048 9.856 1.144C9.952 1.241 10 1.359 10 1.5C10 1.641 9.952 1.759 9.856 1.856C9.759 1.952 9.641 2 9.5 2L8 2L8 4L9.5 4C9.641 4 9.759 4.048 9.856 4.144C9.952 4.241 10 4.359 10 4.5L10 6L11 6C11.276 6 11.512 6.098 11.707 6.293C11.902 6.488 12 6.724 12 7L12 13C12 13.276 11.902 13.512 11.707 13.707C11.512 13.902 11.276 14 11 14L4 14C3.724 14 3.488 13.902 3.293 13.707C3.098 13.512 3 13.276 3 13L3 7C3 6.724 3.098 6.488 3.293 6.293C3.488 6.098 3.724 6 4 6L5 6L5 4.5C5 4.359 5.048 4.241 5.144 4.144C5.241 4.048 5.359 4 5.5 4L7 4L7 2L5 2L5 2.5C5 2.641 4.952 2.759 4.856 2.856ZM6 5L6 6L9 6L9 5L6 5ZM11 13L11 7L4 7L4 13L11 13Z"/></svg>
```

### React

```tsx
// Gentleface "soap" (line-round), MIT. https://gentleface.com/icons/soap
import type { SVGProps } from 'react';

export function SoapIcon(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="M4.856 2.856C4.759 2.952 4.641 3 4.5 3C4.359 3 4.241 2.952 4.144 2.856C4.048 2.759 4 2.641 4 2.5L4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L9.5 1C9.641 1 9.759 1.048 9.856 1.144C9.952 1.241 10 1.359 10 1.5C10 1.641 9.952 1.759 9.856 1.856C9.759 1.952 9.641 2 9.5 2L8 2L8 4L9.5 4C9.641 4 9.759 4.048 9.856 4.144C9.952 4.241 10 4.359 10 4.5L10 6L11 6C11.276 6 11.512 6.098 11.707 6.293C11.902 6.488 12 6.724 12 7L12 13C12 13.276 11.902 13.512 11.707 13.707C11.512 13.902 11.276 14 11 14L4 14C3.724 14 3.488 13.902 3.293 13.707C3.098 13.512 3 13.276 3 13L3 7C3 6.724 3.098 6.488 3.293 6.293C3.488 6.098 3.724 6 4 6L5 6L5 4.5C5 4.359 5.048 4.241 5.144 4.144C5.241 4.048 5.359 4 5.5 4L7 4L7 2L5 2L5 2.5C5 2.641 4.952 2.759 4.856 2.856ZM6 5L6 6L9 6L9 5L6 5ZM11 13L11 7L4 7L4 13L11 13Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "soap" (line-round), MIT. https://gentleface.com/icons/soap -->
<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="M4.856 2.856C4.759 2.952 4.641 3 4.5 3C4.359 3 4.241 2.952 4.144 2.856C4.048 2.759 4 2.641 4 2.5L4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L9.5 1C9.641 1 9.759 1.048 9.856 1.144C9.952 1.241 10 1.359 10 1.5C10 1.641 9.952 1.759 9.856 1.856C9.759 1.952 9.641 2 9.5 2L8 2L8 4L9.5 4C9.641 4 9.759 4.048 9.856 4.144C9.952 4.241 10 4.359 10 4.5L10 6L11 6C11.276 6 11.512 6.098 11.707 6.293C11.902 6.488 12 6.724 12 7L12 13C12 13.276 11.902 13.512 11.707 13.707C11.512 13.902 11.276 14 11 14L4 14C3.724 14 3.488 13.902 3.293 13.707C3.098 13.512 3 13.276 3 13L3 7C3 6.724 3.098 6.488 3.293 6.293C3.488 6.098 3.724 6 4 6L5 6L5 4.5C5 4.359 5.048 4.241 5.144 4.144C5.241 4.048 5.359 4 5.5 4L7 4L7 2L5 2L5 2.5C5 2.641 4.952 2.759 4.856 2.856ZM6 5L6 6L9 6L9 5L6 5ZM11 13L11 7L4 7L4 13L11 13Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "soap" (line-round), MIT. https://gentleface.com/icons/soap -->
<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="M4.856 2.856C4.759 2.952 4.641 3 4.5 3C4.359 3 4.241 2.952 4.144 2.856C4.048 2.759 4 2.641 4 2.5L4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L9.5 1C9.641 1 9.759 1.048 9.856 1.144C9.952 1.241 10 1.359 10 1.5C10 1.641 9.952 1.759 9.856 1.856C9.759 1.952 9.641 2 9.5 2L8 2L8 4L9.5 4C9.641 4 9.759 4.048 9.856 4.144C9.952 4.241 10 4.359 10 4.5L10 6L11 6C11.276 6 11.512 6.098 11.707 6.293C11.902 6.488 12 6.724 12 7L12 13C12 13.276 11.902 13.512 11.707 13.707C11.512 13.902 11.276 14 11 14L4 14C3.724 14 3.488 13.902 3.293 13.707C3.098 13.512 3 13.276 3 13L3 7C3 6.724 3.098 6.488 3.293 6.293C3.488 6.098 3.724 6 4 6L5 6L5 4.5C5 4.359 5.048 4.241 5.144 4.144C5.241 4.048 5.359 4 5.5 4L7 4L7 2L5 2L5 2.5C5 2.641 4.952 2.759 4.856 2.856ZM6 5L6 6L9 6L9 5L6 5ZM11 13L11 7L4 7L4 13L11 13Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "soap" (line-round), MIT. https://gentleface.com/icons/soap. 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/soap.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "soap" (line-round), MIT. https://gentleface.com/icons/soap. Takes the text color. */
.icon-soap {
  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='M4.856 2.856C4.759 2.952 4.641 3 4.5 3C4.359 3 4.241 2.952 4.144 2.856C4.048 2.759 4 2.641 4 2.5L4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L9.5 1C9.641 1 9.759 1.048 9.856 1.144C9.952 1.241 10 1.359 10 1.5C10 1.641 9.952 1.759 9.856 1.856C9.759 1.952 9.641 2 9.5 2L8 2L8 4L9.5 4C9.641 4 9.759 4.048 9.856 4.144C9.952 4.241 10 4.359 10 4.5L10 6L11 6C11.276 6 11.512 6.098 11.707 6.293C11.902 6.488 12 6.724 12 7L12 13C12 13.276 11.902 13.512 11.707 13.707C11.512 13.902 11.276 14 11 14L4 14C3.724 14 3.488 13.902 3.293 13.707C3.098 13.512 3 13.276 3 13L3 7C3 6.724 3.098 6.488 3.293 6.293C3.488 6.098 3.724 6 4 6L5 6L5 4.5C5 4.359 5.048 4.241 5.144 4.144C5.241 4.048 5.359 4 5.5 4L7 4L7 2L5 2L5 2.5C5 2.641 4.952 2.759 4.856 2.856ZM6 5L6 6L9 6L9 5L6 5ZM11 13L11 7L4 7L4 13L11 13Z'/%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='M4.856 2.856C4.759 2.952 4.641 3 4.5 3C4.359 3 4.241 2.952 4.144 2.856C4.048 2.759 4 2.641 4 2.5L4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L9.5 1C9.641 1 9.759 1.048 9.856 1.144C9.952 1.241 10 1.359 10 1.5C10 1.641 9.952 1.759 9.856 1.856C9.759 1.952 9.641 2 9.5 2L8 2L8 4L9.5 4C9.641 4 9.759 4.048 9.856 4.144C9.952 4.241 10 4.359 10 4.5L10 6L11 6C11.276 6 11.512 6.098 11.707 6.293C11.902 6.488 12 6.724 12 7L12 13C12 13.276 11.902 13.512 11.707 13.707C11.512 13.902 11.276 14 11 14L4 14C3.724 14 3.488 13.902 3.293 13.707C3.098 13.512 3 13.276 3 13L3 7C3 6.724 3.098 6.488 3.293 6.293C3.488 6.098 3.724 6 4 6L5 6L5 4.5C5 4.359 5.048 4.241 5.144 4.144C5.241 4.048 5.359 4 5.5 4L7 4L7 2L5 2L5 2.5C5 2.641 4.952 2.759 4.856 2.856ZM6 5L6 6L9 6L9 5L6 5ZM11 13L11 7L4 7L4 13L11 13Z'/%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='M4.856 2.856C4.759 2.952 4.641 3 4.5 3C4.359 3 4.241 2.952 4.144 2.856C4.048 2.759 4 2.641 4 2.5L4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L9.5 1C9.641 1 9.759 1.048 9.856 1.144C9.952 1.241 10 1.359 10 1.5C10 1.641 9.952 1.759 9.856 1.856C9.759 1.952 9.641 2 9.5 2L8 2L8 4L9.5 4C9.641 4 9.759 4.048 9.856 4.144C9.952 4.241 10 4.359 10 4.5L10 6L11 6C11.276 6 11.512 6.098 11.707 6.293C11.902 6.488 12 6.724 12 7L12 13C12 13.276 11.902 13.512 11.707 13.707C11.512 13.902 11.276 14 11 14L4 14C3.724 14 3.488 13.902 3.293 13.707C3.098 13.512 3 13.276 3 13L3 7C3 6.724 3.098 6.488 3.293 6.293C3.488 6.098 3.724 6 4 6L5 6L5 4.5C5 4.359 5.048 4.241 5.144 4.144C5.241 4.048 5.359 4 5.5 4L7 4L7 2L5 2L5 2.5C5 2.641 4.952 2.759 4.856 2.856ZM6 5L6 6L9 6L9 5L6 5ZM11 13L11 7L4 7L4 13L11 13Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "soap" (line-round), MIT. https://gentleface.com/icons/soap
     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#soap"/></svg>
```

### SwiftUI

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

struct SoapIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 4.856, y: 2.856))
        p.addCurve(to: CGPoint(x: 4.5, y: 3), control1: CGPoint(x: 4.759, y: 2.952), control2: CGPoint(x: 4.641, y: 3))
        p.addCurve(to: CGPoint(x: 4.144, y: 2.856), control1: CGPoint(x: 4.359, y: 3), control2: CGPoint(x: 4.241, y: 2.952))
        p.addCurve(to: CGPoint(x: 4, y: 2.5), control1: CGPoint(x: 4.048, y: 2.759), control2: CGPoint(x: 4, y: 2.641))
        p.addLine(to: CGPoint(x: 4, y: 1.5))
        p.addCurve(to: CGPoint(x: 4.144, y: 1.144), control1: CGPoint(x: 4, y: 1.359), control2: CGPoint(x: 4.048, y: 1.241))
        p.addCurve(to: CGPoint(x: 4.5, y: 1), control1: CGPoint(x: 4.241, y: 1.048), control2: CGPoint(x: 4.359, y: 1))
        p.addLine(to: CGPoint(x: 9.5, 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.addCurve(to: CGPoint(x: 9.856, y: 1.856), control1: CGPoint(x: 10, y: 1.641), control2: CGPoint(x: 9.952, y: 1.759))
        p.addCurve(to: CGPoint(x: 9.5, y: 2), control1: CGPoint(x: 9.759, y: 1.952), control2: CGPoint(x: 9.641, y: 2))
        p.addLine(to: CGPoint(x: 8, y: 2))
        p.addLine(to: CGPoint(x: 8, y: 4))
        p.addLine(to: CGPoint(x: 9.5, y: 4))
        p.addCurve(to: CGPoint(x: 9.856, y: 4.144), control1: CGPoint(x: 9.641, y: 4), control2: CGPoint(x: 9.759, y: 4.048))
        p.addCurve(to: CGPoint(x: 10, y: 4.5), control1: CGPoint(x: 9.952, y: 4.241), control2: CGPoint(x: 10, y: 4.359))
        p.addLine(to: CGPoint(x: 10, y: 6))
        p.addLine(to: CGPoint(x: 11, y: 6))
        p.addCurve(to: CGPoint(x: 11.707, y: 6.293), control1: CGPoint(x: 11.276, y: 6), control2: CGPoint(x: 11.512, y: 6.098))
        p.addCurve(to: CGPoint(x: 12, y: 7), control1: CGPoint(x: 11.902, y: 6.488), control2: CGPoint(x: 12, y: 6.724))
        p.addLine(to: CGPoint(x: 12, y: 13))
        p.addCurve(to: CGPoint(x: 11.707, y: 13.707), control1: CGPoint(x: 12, y: 13.276), control2: CGPoint(x: 11.902, y: 13.512))
        p.addCurve(to: CGPoint(x: 11, y: 14), control1: CGPoint(x: 11.512, y: 13.902), control2: CGPoint(x: 11.276, y: 14))
        p.addLine(to: CGPoint(x: 4, y: 14))
        p.addCurve(to: CGPoint(x: 3.293, y: 13.707), control1: CGPoint(x: 3.724, y: 14), control2: CGPoint(x: 3.488, y: 13.902))
        p.addCurve(to: CGPoint(x: 3, y: 13), control1: CGPoint(x: 3.098, y: 13.512), control2: CGPoint(x: 3, y: 13.276))
        p.addLine(to: CGPoint(x: 3, y: 7))
        p.addCurve(to: CGPoint(x: 3.293, y: 6.293), control1: CGPoint(x: 3, y: 6.724), control2: CGPoint(x: 3.098, y: 6.488))
        p.addCurve(to: CGPoint(x: 4, y: 6), control1: CGPoint(x: 3.488, y: 6.098), control2: CGPoint(x: 3.724, y: 6))
        p.addLine(to: CGPoint(x: 5, y: 6))
        p.addLine(to: CGPoint(x: 5, y: 4.5))
        p.addCurve(to: CGPoint(x: 5.144, y: 4.144), control1: CGPoint(x: 5, y: 4.359), control2: CGPoint(x: 5.048, y: 4.241))
        p.addCurve(to: CGPoint(x: 5.5, y: 4), control1: CGPoint(x: 5.241, y: 4.048), control2: CGPoint(x: 5.359, y: 4))
        p.addLine(to: CGPoint(x: 7, y: 4))
        p.addLine(to: CGPoint(x: 7, y: 2))
        p.addLine(to: CGPoint(x: 5, y: 2))
        p.addLine(to: CGPoint(x: 5, y: 2.5))
        p.addCurve(to: CGPoint(x: 4.856, y: 2.856), control1: CGPoint(x: 5, y: 2.641), control2: CGPoint(x: 4.952, y: 2.759))
        p.closeSubpath()
        p.move(to: CGPoint(x: 6, y: 5))
        p.addLine(to: CGPoint(x: 6, y: 6))
        p.addLine(to: CGPoint(x: 9, y: 6))
        p.addLine(to: CGPoint(x: 9, y: 5))
        p.addLine(to: CGPoint(x: 6, y: 5))
        p.closeSubpath()
        p.move(to: CGPoint(x: 11, y: 13))
        p.addLine(to: CGPoint(x: 11, y: 7))
        p.addLine(to: CGPoint(x: 4, y: 7))
        p.addLine(to: CGPoint(x: 4, y: 13))
        p.addLine(to: CGPoint(x: 11, y: 13))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "soap" (line-round), MIT. https://gentleface.com/icons/soap
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 SoapIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "soap", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M4.856 2.856C4.759 2.952 4.641 3 4.5 3C4.359 3 4.241 2.952 4.144 2.856C4.048 2.759 4 2.641 4 2.5L4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L9.5 1C9.641 1 9.759 1.048 9.856 1.144C9.952 1.241 10 1.359 10 1.5C10 1.641 9.952 1.759 9.856 1.856C9.759 1.952 9.641 2 9.5 2L8 2L8 4L9.5 4C9.641 4 9.759 4.048 9.856 4.144C9.952 4.241 10 4.359 10 4.5L10 6L11 6C11.276 6 11.512 6.098 11.707 6.293C11.902 6.488 12 6.724 12 7L12 13C12 13.276 11.902 13.512 11.707 13.707C11.512 13.902 11.276 14 11 14L4 14C3.724 14 3.488 13.902 3.293 13.707C3.098 13.512 3 13.276 3 13L3 7C3 6.724 3.098 6.488 3.293 6.293C3.488 6.098 3.724 6 4 6L5 6L5 4.5C5 4.359 5.048 4.241 5.144 4.144C5.241 4.048 5.359 4 5.5 4L7 4L7 2L5 2L5 2.5C5 2.641 4.952 2.759 4.856 2.856ZM6 5L6 6L9 6L9 5L6 5ZM11 13L11 7L4 7L4 13L11 13Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_soap.xml · Gentleface "soap" (line-round), MIT. https://gentleface.com/icons/soap -->
<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="M4.856 2.856C4.759 2.952 4.641 3 4.5 3C4.359 3 4.241 2.952 4.144 2.856C4.048 2.759 4 2.641 4 2.5L4 1.5C4 1.359 4.048 1.241 4.144 1.144C4.241 1.048 4.359 1 4.5 1L9.5 1C9.641 1 9.759 1.048 9.856 1.144C9.952 1.241 10 1.359 10 1.5C10 1.641 9.952 1.759 9.856 1.856C9.759 1.952 9.641 2 9.5 2L8 2L8 4L9.5 4C9.641 4 9.759 4.048 9.856 4.144C9.952 4.241 10 4.359 10 4.5L10 6L11 6C11.276 6 11.512 6.098 11.707 6.293C11.902 6.488 12 6.724 12 7L12 13C12 13.276 11.902 13.512 11.707 13.707C11.512 13.902 11.276 14 11 14L4 14C3.724 14 3.488 13.902 3.293 13.707C3.098 13.512 3 13.276 3 13L3 7C3 6.724 3.098 6.488 3.293 6.293C3.488 6.098 3.724 6 4 6L5 6L5 4.5C5 4.359 5.048 4.241 5.144 4.144C5.241 4.048 5.359 4 5.5 4L7 4L7 2L5 2L5 2.5C5 2.641 4.952 2.759 4.856 2.856ZM6 5L6 6L9 6L9 5L6 5ZM11 13L11 7L4 7L4 13L11 13Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(4.856, 2.856)
      ..cubicTo(4.759, 2.952, 4.641, 3, 4.5, 3)
      ..cubicTo(4.359, 3, 4.241, 2.952, 4.144, 2.856)
      ..cubicTo(4.048, 2.759, 4, 2.641, 4, 2.5)
      ..lineTo(4, 1.5)
      ..cubicTo(4, 1.359, 4.048, 1.241, 4.144, 1.144)
      ..cubicTo(4.241, 1.048, 4.359, 1, 4.5, 1)
      ..lineTo(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)
      ..cubicTo(10, 1.641, 9.952, 1.759, 9.856, 1.856)
      ..cubicTo(9.759, 1.952, 9.641, 2, 9.5, 2)
      ..lineTo(8, 2)
      ..lineTo(8, 4)
      ..lineTo(9.5, 4)
      ..cubicTo(9.641, 4, 9.759, 4.048, 9.856, 4.144)
      ..cubicTo(9.952, 4.241, 10, 4.359, 10, 4.5)
      ..lineTo(10, 6)
      ..lineTo(11, 6)
      ..cubicTo(11.276, 6, 11.512, 6.098, 11.707, 6.293)
      ..cubicTo(11.902, 6.488, 12, 6.724, 12, 7)
      ..lineTo(12, 13)
      ..cubicTo(12, 13.276, 11.902, 13.512, 11.707, 13.707)
      ..cubicTo(11.512, 13.902, 11.276, 14, 11, 14)
      ..lineTo(4, 14)
      ..cubicTo(3.724, 14, 3.488, 13.902, 3.293, 13.707)
      ..cubicTo(3.098, 13.512, 3, 13.276, 3, 13)
      ..lineTo(3, 7)
      ..cubicTo(3, 6.724, 3.098, 6.488, 3.293, 6.293)
      ..cubicTo(3.488, 6.098, 3.724, 6, 4, 6)
      ..lineTo(5, 6)
      ..lineTo(5, 4.5)
      ..cubicTo(5, 4.359, 5.048, 4.241, 5.144, 4.144)
      ..cubicTo(5.241, 4.048, 5.359, 4, 5.5, 4)
      ..lineTo(7, 4)
      ..lineTo(7, 2)
      ..lineTo(5, 2)
      ..lineTo(5, 2.5)
      ..cubicTo(5, 2.641, 4.952, 2.759, 4.856, 2.856)
      ..close()
      ..moveTo(6, 5)
      ..lineTo(6, 6)
      ..lineTo(9, 6)
      ..lineTo(9, 5)
      ..lineTo(6, 5)
      ..close()
      ..moveTo(11, 13)
      ..lineTo(11, 7)
      ..lineTo(4, 7)
      ..lineTo(4, 13)
      ..lineTo(11, 13)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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