# stop icon

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

- Category: Audio & video
- Use it for: stop, halt, stop recording
- Tags: media, playback, square, end
- Family: eject, fast-forward, pause, pause-circle, play, play-circle, play-off, record, record-dot, rewind, skip-back, skip-forward, stop-circle
- Component name: StopIcon
- Added: 2026-10-14

## Alternatives

- `stop-circle`: stop an AI response, or a large standalone stop button (stop-generating)

## Don't confuse with

- `square`: the plain square shape (square)

## Also fits

- record: stop the recording (stop)
- stop playback: the bare stop control in a transport bar

## Not for

- square (use `square`): a filled square is the media stop control (stop)

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

The SVG of every style: https://gentleface.com/icons/stop.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="M12.86 11.736C12.758 11.993 12.609 12.219 12.414 12.414C12.219 12.609 11.993 12.758 11.736 12.86C11.5 12.953 11.254 13 11 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L11 2C11.254 2 11.5 2.047 11.736 2.14C11.993 2.242 12.219 2.391 12.414 2.586C12.609 2.781 12.758 3.007 12.86 3.264C12.953 3.5 13 3.746 13 4L13 11C13 11.254 12.953 11.5 12.86 11.736ZM3.293 11.707C3.488 11.902 3.724 12 4 12L11 12C11.276 12 11.512 11.902 11.707 11.707C11.902 11.512 12 11.276 12 11L12 4C12 3.724 11.902 3.488 11.707 3.293C11.512 3.098 11.276 3 11 3L4 3C3.724 3 3.488 3.098 3.293 3.293C3.098 3.488 3 3.724 3 4L3 11C3 11.276 3.098 11.512 3.293 11.707Z"/></svg>
```

### React

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

export function StopIcon(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="M12.86 11.736C12.758 11.993 12.609 12.219 12.414 12.414C12.219 12.609 11.993 12.758 11.736 12.86C11.5 12.953 11.254 13 11 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L11 2C11.254 2 11.5 2.047 11.736 2.14C11.993 2.242 12.219 2.391 12.414 2.586C12.609 2.781 12.758 3.007 12.86 3.264C12.953 3.5 13 3.746 13 4L13 11C13 11.254 12.953 11.5 12.86 11.736ZM3.293 11.707C3.488 11.902 3.724 12 4 12L11 12C11.276 12 11.512 11.902 11.707 11.707C11.902 11.512 12 11.276 12 11L12 4C12 3.724 11.902 3.488 11.707 3.293C11.512 3.098 11.276 3 11 3L4 3C3.724 3 3.488 3.098 3.293 3.293C3.098 3.488 3 3.724 3 4L3 11C3 11.276 3.098 11.512 3.293 11.707Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "stop" (line-round), MIT. https://gentleface.com/icons/stop -->
<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="M12.86 11.736C12.758 11.993 12.609 12.219 12.414 12.414C12.219 12.609 11.993 12.758 11.736 12.86C11.5 12.953 11.254 13 11 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L11 2C11.254 2 11.5 2.047 11.736 2.14C11.993 2.242 12.219 2.391 12.414 2.586C12.609 2.781 12.758 3.007 12.86 3.264C12.953 3.5 13 3.746 13 4L13 11C13 11.254 12.953 11.5 12.86 11.736ZM3.293 11.707C3.488 11.902 3.724 12 4 12L11 12C11.276 12 11.512 11.902 11.707 11.707C11.902 11.512 12 11.276 12 11L12 4C12 3.724 11.902 3.488 11.707 3.293C11.512 3.098 11.276 3 11 3L4 3C3.724 3 3.488 3.098 3.293 3.293C3.098 3.488 3 3.724 3 4L3 11C3 11.276 3.098 11.512 3.293 11.707Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "stop" (line-round), MIT. https://gentleface.com/icons/stop -->
<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="M12.86 11.736C12.758 11.993 12.609 12.219 12.414 12.414C12.219 12.609 11.993 12.758 11.736 12.86C11.5 12.953 11.254 13 11 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L11 2C11.254 2 11.5 2.047 11.736 2.14C11.993 2.242 12.219 2.391 12.414 2.586C12.609 2.781 12.758 3.007 12.86 3.264C12.953 3.5 13 3.746 13 4L13 11C13 11.254 12.953 11.5 12.86 11.736ZM3.293 11.707C3.488 11.902 3.724 12 4 12L11 12C11.276 12 11.512 11.902 11.707 11.707C11.902 11.512 12 11.276 12 11L12 4C12 3.724 11.902 3.488 11.707 3.293C11.512 3.098 11.276 3 11 3L4 3C3.724 3 3.488 3.098 3.293 3.293C3.098 3.488 3 3.724 3 4L3 11C3 11.276 3.098 11.512 3.293 11.707Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "stop" (line-round), MIT. https://gentleface.com/icons/stop. Takes the text color. */
.icon-stop {
  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='M12.86 11.736C12.758 11.993 12.609 12.219 12.414 12.414C12.219 12.609 11.993 12.758 11.736 12.86C11.5 12.953 11.254 13 11 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L11 2C11.254 2 11.5 2.047 11.736 2.14C11.993 2.242 12.219 2.391 12.414 2.586C12.609 2.781 12.758 3.007 12.86 3.264C12.953 3.5 13 3.746 13 4L13 11C13 11.254 12.953 11.5 12.86 11.736ZM3.293 11.707C3.488 11.902 3.724 12 4 12L11 12C11.276 12 11.512 11.902 11.707 11.707C11.902 11.512 12 11.276 12 11L12 4C12 3.724 11.902 3.488 11.707 3.293C11.512 3.098 11.276 3 11 3L4 3C3.724 3 3.488 3.098 3.293 3.293C3.098 3.488 3 3.724 3 4L3 11C3 11.276 3.098 11.512 3.293 11.707Z'/%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='M12.86 11.736C12.758 11.993 12.609 12.219 12.414 12.414C12.219 12.609 11.993 12.758 11.736 12.86C11.5 12.953 11.254 13 11 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L11 2C11.254 2 11.5 2.047 11.736 2.14C11.993 2.242 12.219 2.391 12.414 2.586C12.609 2.781 12.758 3.007 12.86 3.264C12.953 3.5 13 3.746 13 4L13 11C13 11.254 12.953 11.5 12.86 11.736ZM3.293 11.707C3.488 11.902 3.724 12 4 12L11 12C11.276 12 11.512 11.902 11.707 11.707C11.902 11.512 12 11.276 12 11L12 4C12 3.724 11.902 3.488 11.707 3.293C11.512 3.098 11.276 3 11 3L4 3C3.724 3 3.488 3.098 3.293 3.293C3.098 3.488 3 3.724 3 4L3 11C3 11.276 3.098 11.512 3.293 11.707Z'/%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='M12.86 11.736C12.758 11.993 12.609 12.219 12.414 12.414C12.219 12.609 11.993 12.758 11.736 12.86C11.5 12.953 11.254 13 11 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L11 2C11.254 2 11.5 2.047 11.736 2.14C11.993 2.242 12.219 2.391 12.414 2.586C12.609 2.781 12.758 3.007 12.86 3.264C12.953 3.5 13 3.746 13 4L13 11C13 11.254 12.953 11.5 12.86 11.736ZM3.293 11.707C3.488 11.902 3.724 12 4 12L11 12C11.276 12 11.512 11.902 11.707 11.707C11.902 11.512 12 11.276 12 11L12 4C12 3.724 11.902 3.488 11.707 3.293C11.512 3.098 11.276 3 11 3L4 3C3.724 3 3.488 3.098 3.293 3.293C3.098 3.488 3 3.724 3 4L3 11C3 11.276 3.098 11.512 3.293 11.707Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct StopIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 12.86, y: 11.736))
        p.addCurve(to: CGPoint(x: 12.414, y: 12.414), control1: CGPoint(x: 12.758, y: 11.993), control2: CGPoint(x: 12.609, y: 12.219))
        p.addCurve(to: CGPoint(x: 11.736, y: 12.86), control1: CGPoint(x: 12.219, y: 12.609), control2: CGPoint(x: 11.993, y: 12.758))
        p.addCurve(to: CGPoint(x: 11, y: 13), control1: CGPoint(x: 11.5, y: 12.953), control2: CGPoint(x: 11.254, y: 13))
        p.addLine(to: CGPoint(x: 4, y: 13))
        p.addCurve(to: CGPoint(x: 3.264, y: 12.86), control1: CGPoint(x: 3.746, y: 13), control2: CGPoint(x: 3.5, y: 12.953))
        p.addCurve(to: CGPoint(x: 2.586, y: 12.414), control1: CGPoint(x: 3.007, y: 12.758), control2: CGPoint(x: 2.781, y: 12.609))
        p.addCurve(to: CGPoint(x: 2.14, y: 11.736), control1: CGPoint(x: 2.391, y: 12.219), control2: CGPoint(x: 2.242, y: 11.993))
        p.addCurve(to: CGPoint(x: 2, y: 11), control1: CGPoint(x: 2.047, y: 11.5), control2: CGPoint(x: 2, y: 11.254))
        p.addLine(to: CGPoint(x: 2, y: 4))
        p.addCurve(to: CGPoint(x: 2.14, y: 3.264), control1: CGPoint(x: 2, y: 3.746), control2: CGPoint(x: 2.047, y: 3.5))
        p.addCurve(to: CGPoint(x: 2.586, y: 2.586), control1: CGPoint(x: 2.242, y: 3.007), control2: CGPoint(x: 2.391, y: 2.781))
        p.addCurve(to: CGPoint(x: 3.264, y: 2.14), control1: CGPoint(x: 2.781, y: 2.391), control2: CGPoint(x: 3.007, y: 2.242))
        p.addCurve(to: CGPoint(x: 4, y: 2), control1: CGPoint(x: 3.5, y: 2.047), control2: CGPoint(x: 3.746, y: 2))
        p.addLine(to: CGPoint(x: 11, y: 2))
        p.addCurve(to: CGPoint(x: 11.736, y: 2.14), control1: CGPoint(x: 11.254, y: 2), control2: CGPoint(x: 11.5, y: 2.047))
        p.addCurve(to: CGPoint(x: 12.414, y: 2.586), control1: CGPoint(x: 11.993, y: 2.242), control2: CGPoint(x: 12.219, y: 2.391))
        p.addCurve(to: CGPoint(x: 12.86, y: 3.264), control1: CGPoint(x: 12.609, y: 2.781), control2: CGPoint(x: 12.758, y: 3.007))
        p.addCurve(to: CGPoint(x: 13, y: 4), control1: CGPoint(x: 12.953, y: 3.5), control2: CGPoint(x: 13, y: 3.746))
        p.addLine(to: CGPoint(x: 13, y: 11))
        p.addCurve(to: CGPoint(x: 12.86, y: 11.736), control1: CGPoint(x: 13, y: 11.254), control2: CGPoint(x: 12.953, y: 11.5))
        p.closeSubpath()
        p.move(to: CGPoint(x: 3.293, y: 11.707))
        p.addCurve(to: CGPoint(x: 4, y: 12), control1: CGPoint(x: 3.488, y: 11.902), control2: CGPoint(x: 3.724, y: 12))
        p.addLine(to: CGPoint(x: 11, y: 12))
        p.addCurve(to: CGPoint(x: 11.707, y: 11.707), control1: CGPoint(x: 11.276, y: 12), control2: CGPoint(x: 11.512, y: 11.902))
        p.addCurve(to: CGPoint(x: 12, y: 11), control1: CGPoint(x: 11.902, y: 11.512), control2: CGPoint(x: 12, y: 11.276))
        p.addLine(to: CGPoint(x: 12, y: 4))
        p.addCurve(to: CGPoint(x: 11.707, y: 3.293), control1: CGPoint(x: 12, y: 3.724), control2: CGPoint(x: 11.902, y: 3.488))
        p.addCurve(to: CGPoint(x: 11, y: 3), control1: CGPoint(x: 11.512, y: 3.098), control2: CGPoint(x: 11.276, y: 3))
        p.addLine(to: CGPoint(x: 4, y: 3))
        p.addCurve(to: CGPoint(x: 3.293, y: 3.293), control1: CGPoint(x: 3.724, y: 3), control2: CGPoint(x: 3.488, y: 3.098))
        p.addCurve(to: CGPoint(x: 3, y: 4), control1: CGPoint(x: 3.098, y: 3.488), control2: CGPoint(x: 3, y: 3.724))
        p.addLine(to: CGPoint(x: 3, y: 11))
        p.addCurve(to: CGPoint(x: 3.293, y: 11.707), control1: CGPoint(x: 3, y: 11.276), control2: CGPoint(x: 3.098, y: 11.512))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "stop" (line-round), MIT. https://gentleface.com/icons/stop
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 StopIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "stop", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M12.86 11.736C12.758 11.993 12.609 12.219 12.414 12.414C12.219 12.609 11.993 12.758 11.736 12.86C11.5 12.953 11.254 13 11 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L11 2C11.254 2 11.5 2.047 11.736 2.14C11.993 2.242 12.219 2.391 12.414 2.586C12.609 2.781 12.758 3.007 12.86 3.264C12.953 3.5 13 3.746 13 4L13 11C13 11.254 12.953 11.5 12.86 11.736ZM3.293 11.707C3.488 11.902 3.724 12 4 12L11 12C11.276 12 11.512 11.902 11.707 11.707C11.902 11.512 12 11.276 12 11L12 4C12 3.724 11.902 3.488 11.707 3.293C11.512 3.098 11.276 3 11 3L4 3C3.724 3 3.488 3.098 3.293 3.293C3.098 3.488 3 3.724 3 4L3 11C3 11.276 3.098 11.512 3.293 11.707Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_stop.xml · Gentleface "stop" (line-round), MIT. https://gentleface.com/icons/stop -->
<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="M12.86 11.736C12.758 11.993 12.609 12.219 12.414 12.414C12.219 12.609 11.993 12.758 11.736 12.86C11.5 12.953 11.254 13 11 13L4 13C3.746 13 3.5 12.953 3.264 12.86C3.007 12.758 2.781 12.609 2.586 12.414C2.391 12.219 2.242 11.993 2.14 11.736C2.047 11.5 2 11.254 2 11L2 4C2 3.746 2.047 3.5 2.14 3.264C2.242 3.007 2.391 2.781 2.586 2.586C2.781 2.391 3.007 2.242 3.264 2.14C3.5 2.047 3.746 2 4 2L11 2C11.254 2 11.5 2.047 11.736 2.14C11.993 2.242 12.219 2.391 12.414 2.586C12.609 2.781 12.758 3.007 12.86 3.264C12.953 3.5 13 3.746 13 4L13 11C13 11.254 12.953 11.5 12.86 11.736ZM3.293 11.707C3.488 11.902 3.724 12 4 12L11 12C11.276 12 11.512 11.902 11.707 11.707C11.902 11.512 12 11.276 12 11L12 4C12 3.724 11.902 3.488 11.707 3.293C11.512 3.098 11.276 3 11 3L4 3C3.724 3 3.488 3.098 3.293 3.293C3.098 3.488 3 3.724 3 4L3 11C3 11.276 3.098 11.512 3.293 11.707Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(12.86, 11.736)
      ..cubicTo(12.758, 11.993, 12.609, 12.219, 12.414, 12.414)
      ..cubicTo(12.219, 12.609, 11.993, 12.758, 11.736, 12.86)
      ..cubicTo(11.5, 12.953, 11.254, 13, 11, 13)
      ..lineTo(4, 13)
      ..cubicTo(3.746, 13, 3.5, 12.953, 3.264, 12.86)
      ..cubicTo(3.007, 12.758, 2.781, 12.609, 2.586, 12.414)
      ..cubicTo(2.391, 12.219, 2.242, 11.993, 2.14, 11.736)
      ..cubicTo(2.047, 11.5, 2, 11.254, 2, 11)
      ..lineTo(2, 4)
      ..cubicTo(2, 3.746, 2.047, 3.5, 2.14, 3.264)
      ..cubicTo(2.242, 3.007, 2.391, 2.781, 2.586, 2.586)
      ..cubicTo(2.781, 2.391, 3.007, 2.242, 3.264, 2.14)
      ..cubicTo(3.5, 2.047, 3.746, 2, 4, 2)
      ..lineTo(11, 2)
      ..cubicTo(11.254, 2, 11.5, 2.047, 11.736, 2.14)
      ..cubicTo(11.993, 2.242, 12.219, 2.391, 12.414, 2.586)
      ..cubicTo(12.609, 2.781, 12.758, 3.007, 12.86, 3.264)
      ..cubicTo(12.953, 3.5, 13, 3.746, 13, 4)
      ..lineTo(13, 11)
      ..cubicTo(13, 11.254, 12.953, 11.5, 12.86, 11.736)
      ..close()
      ..moveTo(3.293, 11.707)
      ..cubicTo(3.488, 11.902, 3.724, 12, 4, 12)
      ..lineTo(11, 12)
      ..cubicTo(11.276, 12, 11.512, 11.902, 11.707, 11.707)
      ..cubicTo(11.902, 11.512, 12, 11.276, 12, 11)
      ..lineTo(12, 4)
      ..cubicTo(12, 3.724, 11.902, 3.488, 11.707, 3.293)
      ..cubicTo(11.512, 3.098, 11.276, 3, 11, 3)
      ..lineTo(4, 3)
      ..cubicTo(3.724, 3, 3.488, 3.098, 3.293, 3.293)
      ..cubicTo(3.098, 3.488, 3, 3.724, 3, 4)
      ..lineTo(3, 11)
      ..cubicTo(3, 11.276, 3.098, 11.512, 3.293, 11.707)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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