# ban icon

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

- Category: Actions
- Use it for: ban, block, forbidden, not allowed, blocked, prohibited
- Tags: ban, block, blocked, prohibited, forbidden, not-allowed, denied, cancel, circle, slash
- Component name: BanIcon
- Added: 2026-10-15

## Alternatives

- `user-ban`: block or ban a person where the target must be named
- `lock`: the item is locked or needs a permission the user can get

## Don't confuse with

- `x-circle`: × in a circle means cancel, clear or reject, not a prohibition
- `user-off`: the slash means disabled, never blocked
- `alert-octagon`: the octagon means critical or spam, not forbidden

## Also fits

- spam: block the sender
- block user: blocked or forbidden in general

## Not for

- download disabled (use `download-off`): the prohibition sign blocks people or content; a disabled action takes the slash
- decrement (use `minus-circle`): the slashed circle is a prohibition, not decrement

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

The SVG of every style: https://gentleface.com/icons/ban.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="M2.563 3.271L2.59 3.24C2.69 3.125 2.795 3.013 2.904 2.904C3.023 2.785 3.145 2.672 3.271 2.563C3.817 2.094 4.429 1.725 5.107 1.456C5.876 1.152 6.673 1 7.5 1C8.327 1 9.124 1.152 9.893 1.456C10.727 1.787 11.462 2.269 12.096 2.904C12.731 3.538 13.213 4.273 13.544 5.107C13.848 5.876 14 6.673 14 7.5C14 8.327 13.848 9.124 13.544 9.893C13.275 10.571 12.906 11.183 12.437 11.729L12.41 11.76C12.31 11.875 12.205 11.987 12.096 12.096C11.977 12.215 11.855 12.328 11.729 12.437C11.183 12.906 10.571 13.275 9.893 13.544C9.124 13.848 8.327 14 7.5 14C6.673 14 5.876 13.848 5.107 13.544C4.273 13.213 3.538 12.731 2.904 12.096C2.269 11.462 1.787 10.727 1.456 9.893C1.152 9.124 1 8.327 1 7.5C1 6.673 1.152 5.876 1.456 5.107C1.725 4.429 2.094 3.817 2.563 3.271ZM12.614 9.525C12.871 8.874 13 8.199 13 7.5C13 6.801 12.871 6.126 12.614 5.475C12.334 4.769 11.926 4.148 11.389 3.611C10.852 3.074 10.231 2.666 9.525 2.386C8.874 2.129 8.199 2 7.5 2C6.801 2 6.126 2.129 5.475 2.386C4.926 2.604 4.427 2.899 3.98 3.273L11.727 11.02C12.101 10.573 12.396 10.074 12.614 9.525ZM2.386 5.475C2.129 6.126 2 6.801 2 7.5C2 8.199 2.129 8.874 2.386 9.525C2.666 10.231 3.074 10.852 3.611 11.389C4.148 11.926 4.769 12.334 5.475 12.614C6.126 12.871 6.801 13 7.5 13C8.199 13 8.874 12.871 9.525 12.614C10.074 12.396 10.573 12.101 11.02 11.727L3.273 3.98C2.899 4.427 2.604 4.926 2.386 5.475Z"/></svg>
```

### React

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

export function BanIcon(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="M2.563 3.271L2.59 3.24C2.69 3.125 2.795 3.013 2.904 2.904C3.023 2.785 3.145 2.672 3.271 2.563C3.817 2.094 4.429 1.725 5.107 1.456C5.876 1.152 6.673 1 7.5 1C8.327 1 9.124 1.152 9.893 1.456C10.727 1.787 11.462 2.269 12.096 2.904C12.731 3.538 13.213 4.273 13.544 5.107C13.848 5.876 14 6.673 14 7.5C14 8.327 13.848 9.124 13.544 9.893C13.275 10.571 12.906 11.183 12.437 11.729L12.41 11.76C12.31 11.875 12.205 11.987 12.096 12.096C11.977 12.215 11.855 12.328 11.729 12.437C11.183 12.906 10.571 13.275 9.893 13.544C9.124 13.848 8.327 14 7.5 14C6.673 14 5.876 13.848 5.107 13.544C4.273 13.213 3.538 12.731 2.904 12.096C2.269 11.462 1.787 10.727 1.456 9.893C1.152 9.124 1 8.327 1 7.5C1 6.673 1.152 5.876 1.456 5.107C1.725 4.429 2.094 3.817 2.563 3.271ZM12.614 9.525C12.871 8.874 13 8.199 13 7.5C13 6.801 12.871 6.126 12.614 5.475C12.334 4.769 11.926 4.148 11.389 3.611C10.852 3.074 10.231 2.666 9.525 2.386C8.874 2.129 8.199 2 7.5 2C6.801 2 6.126 2.129 5.475 2.386C4.926 2.604 4.427 2.899 3.98 3.273L11.727 11.02C12.101 10.573 12.396 10.074 12.614 9.525ZM2.386 5.475C2.129 6.126 2 6.801 2 7.5C2 8.199 2.129 8.874 2.386 9.525C2.666 10.231 3.074 10.852 3.611 11.389C4.148 11.926 4.769 12.334 5.475 12.614C6.126 12.871 6.801 13 7.5 13C8.199 13 8.874 12.871 9.525 12.614C10.074 12.396 10.573 12.101 11.02 11.727L3.273 3.98C2.899 4.427 2.604 4.926 2.386 5.475Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "ban" (line-round), MIT. https://gentleface.com/icons/ban -->
<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="M2.563 3.271L2.59 3.24C2.69 3.125 2.795 3.013 2.904 2.904C3.023 2.785 3.145 2.672 3.271 2.563C3.817 2.094 4.429 1.725 5.107 1.456C5.876 1.152 6.673 1 7.5 1C8.327 1 9.124 1.152 9.893 1.456C10.727 1.787 11.462 2.269 12.096 2.904C12.731 3.538 13.213 4.273 13.544 5.107C13.848 5.876 14 6.673 14 7.5C14 8.327 13.848 9.124 13.544 9.893C13.275 10.571 12.906 11.183 12.437 11.729L12.41 11.76C12.31 11.875 12.205 11.987 12.096 12.096C11.977 12.215 11.855 12.328 11.729 12.437C11.183 12.906 10.571 13.275 9.893 13.544C9.124 13.848 8.327 14 7.5 14C6.673 14 5.876 13.848 5.107 13.544C4.273 13.213 3.538 12.731 2.904 12.096C2.269 11.462 1.787 10.727 1.456 9.893C1.152 9.124 1 8.327 1 7.5C1 6.673 1.152 5.876 1.456 5.107C1.725 4.429 2.094 3.817 2.563 3.271ZM12.614 9.525C12.871 8.874 13 8.199 13 7.5C13 6.801 12.871 6.126 12.614 5.475C12.334 4.769 11.926 4.148 11.389 3.611C10.852 3.074 10.231 2.666 9.525 2.386C8.874 2.129 8.199 2 7.5 2C6.801 2 6.126 2.129 5.475 2.386C4.926 2.604 4.427 2.899 3.98 3.273L11.727 11.02C12.101 10.573 12.396 10.074 12.614 9.525ZM2.386 5.475C2.129 6.126 2 6.801 2 7.5C2 8.199 2.129 8.874 2.386 9.525C2.666 10.231 3.074 10.852 3.611 11.389C4.148 11.926 4.769 12.334 5.475 12.614C6.126 12.871 6.801 13 7.5 13C8.199 13 8.874 12.871 9.525 12.614C10.074 12.396 10.573 12.101 11.02 11.727L3.273 3.98C2.899 4.427 2.604 4.926 2.386 5.475Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "ban" (line-round), MIT. https://gentleface.com/icons/ban -->
<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="M2.563 3.271L2.59 3.24C2.69 3.125 2.795 3.013 2.904 2.904C3.023 2.785 3.145 2.672 3.271 2.563C3.817 2.094 4.429 1.725 5.107 1.456C5.876 1.152 6.673 1 7.5 1C8.327 1 9.124 1.152 9.893 1.456C10.727 1.787 11.462 2.269 12.096 2.904C12.731 3.538 13.213 4.273 13.544 5.107C13.848 5.876 14 6.673 14 7.5C14 8.327 13.848 9.124 13.544 9.893C13.275 10.571 12.906 11.183 12.437 11.729L12.41 11.76C12.31 11.875 12.205 11.987 12.096 12.096C11.977 12.215 11.855 12.328 11.729 12.437C11.183 12.906 10.571 13.275 9.893 13.544C9.124 13.848 8.327 14 7.5 14C6.673 14 5.876 13.848 5.107 13.544C4.273 13.213 3.538 12.731 2.904 12.096C2.269 11.462 1.787 10.727 1.456 9.893C1.152 9.124 1 8.327 1 7.5C1 6.673 1.152 5.876 1.456 5.107C1.725 4.429 2.094 3.817 2.563 3.271ZM12.614 9.525C12.871 8.874 13 8.199 13 7.5C13 6.801 12.871 6.126 12.614 5.475C12.334 4.769 11.926 4.148 11.389 3.611C10.852 3.074 10.231 2.666 9.525 2.386C8.874 2.129 8.199 2 7.5 2C6.801 2 6.126 2.129 5.475 2.386C4.926 2.604 4.427 2.899 3.98 3.273L11.727 11.02C12.101 10.573 12.396 10.074 12.614 9.525ZM2.386 5.475C2.129 6.126 2 6.801 2 7.5C2 8.199 2.129 8.874 2.386 9.525C2.666 10.231 3.074 10.852 3.611 11.389C4.148 11.926 4.769 12.334 5.475 12.614C6.126 12.871 6.801 13 7.5 13C8.199 13 8.874 12.871 9.525 12.614C10.074 12.396 10.573 12.101 11.02 11.727L3.273 3.98C2.899 4.427 2.604 4.926 2.386 5.475Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "ban" (line-round), MIT. https://gentleface.com/icons/ban. Takes the text color. */
.icon-ban {
  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='M2.563 3.271L2.59 3.24C2.69 3.125 2.795 3.013 2.904 2.904C3.023 2.785 3.145 2.672 3.271 2.563C3.817 2.094 4.429 1.725 5.107 1.456C5.876 1.152 6.673 1 7.5 1C8.327 1 9.124 1.152 9.893 1.456C10.727 1.787 11.462 2.269 12.096 2.904C12.731 3.538 13.213 4.273 13.544 5.107C13.848 5.876 14 6.673 14 7.5C14 8.327 13.848 9.124 13.544 9.893C13.275 10.571 12.906 11.183 12.437 11.729L12.41 11.76C12.31 11.875 12.205 11.987 12.096 12.096C11.977 12.215 11.855 12.328 11.729 12.437C11.183 12.906 10.571 13.275 9.893 13.544C9.124 13.848 8.327 14 7.5 14C6.673 14 5.876 13.848 5.107 13.544C4.273 13.213 3.538 12.731 2.904 12.096C2.269 11.462 1.787 10.727 1.456 9.893C1.152 9.124 1 8.327 1 7.5C1 6.673 1.152 5.876 1.456 5.107C1.725 4.429 2.094 3.817 2.563 3.271ZM12.614 9.525C12.871 8.874 13 8.199 13 7.5C13 6.801 12.871 6.126 12.614 5.475C12.334 4.769 11.926 4.148 11.389 3.611C10.852 3.074 10.231 2.666 9.525 2.386C8.874 2.129 8.199 2 7.5 2C6.801 2 6.126 2.129 5.475 2.386C4.926 2.604 4.427 2.899 3.98 3.273L11.727 11.02C12.101 10.573 12.396 10.074 12.614 9.525ZM2.386 5.475C2.129 6.126 2 6.801 2 7.5C2 8.199 2.129 8.874 2.386 9.525C2.666 10.231 3.074 10.852 3.611 11.389C4.148 11.926 4.769 12.334 5.475 12.614C6.126 12.871 6.801 13 7.5 13C8.199 13 8.874 12.871 9.525 12.614C10.074 12.396 10.573 12.101 11.02 11.727L3.273 3.98C2.899 4.427 2.604 4.926 2.386 5.475Z'/%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='M2.563 3.271L2.59 3.24C2.69 3.125 2.795 3.013 2.904 2.904C3.023 2.785 3.145 2.672 3.271 2.563C3.817 2.094 4.429 1.725 5.107 1.456C5.876 1.152 6.673 1 7.5 1C8.327 1 9.124 1.152 9.893 1.456C10.727 1.787 11.462 2.269 12.096 2.904C12.731 3.538 13.213 4.273 13.544 5.107C13.848 5.876 14 6.673 14 7.5C14 8.327 13.848 9.124 13.544 9.893C13.275 10.571 12.906 11.183 12.437 11.729L12.41 11.76C12.31 11.875 12.205 11.987 12.096 12.096C11.977 12.215 11.855 12.328 11.729 12.437C11.183 12.906 10.571 13.275 9.893 13.544C9.124 13.848 8.327 14 7.5 14C6.673 14 5.876 13.848 5.107 13.544C4.273 13.213 3.538 12.731 2.904 12.096C2.269 11.462 1.787 10.727 1.456 9.893C1.152 9.124 1 8.327 1 7.5C1 6.673 1.152 5.876 1.456 5.107C1.725 4.429 2.094 3.817 2.563 3.271ZM12.614 9.525C12.871 8.874 13 8.199 13 7.5C13 6.801 12.871 6.126 12.614 5.475C12.334 4.769 11.926 4.148 11.389 3.611C10.852 3.074 10.231 2.666 9.525 2.386C8.874 2.129 8.199 2 7.5 2C6.801 2 6.126 2.129 5.475 2.386C4.926 2.604 4.427 2.899 3.98 3.273L11.727 11.02C12.101 10.573 12.396 10.074 12.614 9.525ZM2.386 5.475C2.129 6.126 2 6.801 2 7.5C2 8.199 2.129 8.874 2.386 9.525C2.666 10.231 3.074 10.852 3.611 11.389C4.148 11.926 4.769 12.334 5.475 12.614C6.126 12.871 6.801 13 7.5 13C8.199 13 8.874 12.871 9.525 12.614C10.074 12.396 10.573 12.101 11.02 11.727L3.273 3.98C2.899 4.427 2.604 4.926 2.386 5.475Z'/%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='M2.563 3.271L2.59 3.24C2.69 3.125 2.795 3.013 2.904 2.904C3.023 2.785 3.145 2.672 3.271 2.563C3.817 2.094 4.429 1.725 5.107 1.456C5.876 1.152 6.673 1 7.5 1C8.327 1 9.124 1.152 9.893 1.456C10.727 1.787 11.462 2.269 12.096 2.904C12.731 3.538 13.213 4.273 13.544 5.107C13.848 5.876 14 6.673 14 7.5C14 8.327 13.848 9.124 13.544 9.893C13.275 10.571 12.906 11.183 12.437 11.729L12.41 11.76C12.31 11.875 12.205 11.987 12.096 12.096C11.977 12.215 11.855 12.328 11.729 12.437C11.183 12.906 10.571 13.275 9.893 13.544C9.124 13.848 8.327 14 7.5 14C6.673 14 5.876 13.848 5.107 13.544C4.273 13.213 3.538 12.731 2.904 12.096C2.269 11.462 1.787 10.727 1.456 9.893C1.152 9.124 1 8.327 1 7.5C1 6.673 1.152 5.876 1.456 5.107C1.725 4.429 2.094 3.817 2.563 3.271ZM12.614 9.525C12.871 8.874 13 8.199 13 7.5C13 6.801 12.871 6.126 12.614 5.475C12.334 4.769 11.926 4.148 11.389 3.611C10.852 3.074 10.231 2.666 9.525 2.386C8.874 2.129 8.199 2 7.5 2C6.801 2 6.126 2.129 5.475 2.386C4.926 2.604 4.427 2.899 3.98 3.273L11.727 11.02C12.101 10.573 12.396 10.074 12.614 9.525ZM2.386 5.475C2.129 6.126 2 6.801 2 7.5C2 8.199 2.129 8.874 2.386 9.525C2.666 10.231 3.074 10.852 3.611 11.389C4.148 11.926 4.769 12.334 5.475 12.614C6.126 12.871 6.801 13 7.5 13C8.199 13 8.874 12.871 9.525 12.614C10.074 12.396 10.573 12.101 11.02 11.727L3.273 3.98C2.899 4.427 2.604 4.926 2.386 5.475Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct BanIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 2.563, y: 3.271))
        p.addLine(to: CGPoint(x: 2.59, y: 3.24))
        p.addCurve(to: CGPoint(x: 2.904, y: 2.904), control1: CGPoint(x: 2.69, y: 3.125), control2: CGPoint(x: 2.795, y: 3.013))
        p.addCurve(to: CGPoint(x: 3.271, y: 2.563), control1: CGPoint(x: 3.023, y: 2.785), control2: CGPoint(x: 3.145, y: 2.672))
        p.addCurve(to: CGPoint(x: 5.107, y: 1.456), control1: CGPoint(x: 3.817, y: 2.094), control2: CGPoint(x: 4.429, y: 1.725))
        p.addCurve(to: CGPoint(x: 7.5, y: 1), control1: CGPoint(x: 5.876, y: 1.152), control2: CGPoint(x: 6.673, y: 1))
        p.addCurve(to: CGPoint(x: 9.893, y: 1.456), control1: CGPoint(x: 8.327, y: 1), control2: CGPoint(x: 9.124, y: 1.152))
        p.addCurve(to: CGPoint(x: 12.096, y: 2.904), control1: CGPoint(x: 10.727, y: 1.787), control2: CGPoint(x: 11.462, y: 2.269))
        p.addCurve(to: CGPoint(x: 13.544, y: 5.107), control1: CGPoint(x: 12.731, y: 3.538), control2: CGPoint(x: 13.213, y: 4.273))
        p.addCurve(to: CGPoint(x: 14, y: 7.5), control1: CGPoint(x: 13.848, y: 5.876), control2: CGPoint(x: 14, y: 6.673))
        p.addCurve(to: CGPoint(x: 13.544, y: 9.893), control1: CGPoint(x: 14, y: 8.327), control2: CGPoint(x: 13.848, y: 9.124))
        p.addCurve(to: CGPoint(x: 12.437, y: 11.729), control1: CGPoint(x: 13.275, y: 10.571), control2: CGPoint(x: 12.906, y: 11.183))
        p.addLine(to: CGPoint(x: 12.41, y: 11.76))
        p.addCurve(to: CGPoint(x: 12.096, y: 12.096), control1: CGPoint(x: 12.31, y: 11.875), control2: CGPoint(x: 12.205, y: 11.987))
        p.addCurve(to: CGPoint(x: 11.729, y: 12.437), control1: CGPoint(x: 11.977, y: 12.215), control2: CGPoint(x: 11.855, y: 12.328))
        p.addCurve(to: CGPoint(x: 9.893, y: 13.544), control1: CGPoint(x: 11.183, y: 12.906), control2: CGPoint(x: 10.571, y: 13.275))
        p.addCurve(to: CGPoint(x: 7.5, y: 14), control1: CGPoint(x: 9.124, y: 13.848), control2: CGPoint(x: 8.327, y: 14))
        p.addCurve(to: CGPoint(x: 5.107, y: 13.544), control1: CGPoint(x: 6.673, y: 14), control2: CGPoint(x: 5.876, y: 13.848))
        p.addCurve(to: CGPoint(x: 2.904, y: 12.096), control1: CGPoint(x: 4.273, y: 13.213), control2: CGPoint(x: 3.538, y: 12.731))
        p.addCurve(to: CGPoint(x: 1.456, y: 9.893), control1: CGPoint(x: 2.269, y: 11.462), control2: CGPoint(x: 1.787, y: 10.727))
        p.addCurve(to: CGPoint(x: 1, y: 7.5), control1: CGPoint(x: 1.152, y: 9.124), control2: CGPoint(x: 1, y: 8.327))
        p.addCurve(to: CGPoint(x: 1.456, y: 5.107), control1: CGPoint(x: 1, y: 6.673), control2: CGPoint(x: 1.152, y: 5.876))
        p.addCurve(to: CGPoint(x: 2.563, y: 3.271), control1: CGPoint(x: 1.725, y: 4.429), control2: CGPoint(x: 2.094, y: 3.817))
        p.closeSubpath()
        p.move(to: CGPoint(x: 12.614, y: 9.525))
        p.addCurve(to: CGPoint(x: 13, y: 7.5), control1: CGPoint(x: 12.871, y: 8.874), control2: CGPoint(x: 13, y: 8.199))
        p.addCurve(to: CGPoint(x: 12.614, y: 5.475), control1: CGPoint(x: 13, y: 6.801), control2: CGPoint(x: 12.871, y: 6.126))
        p.addCurve(to: CGPoint(x: 11.389, y: 3.611), control1: CGPoint(x: 12.334, y: 4.769), control2: CGPoint(x: 11.926, y: 4.148))
        p.addCurve(to: CGPoint(x: 9.525, y: 2.386), control1: CGPoint(x: 10.852, y: 3.074), control2: CGPoint(x: 10.231, y: 2.666))
        p.addCurve(to: CGPoint(x: 7.5, y: 2), control1: CGPoint(x: 8.874, y: 2.129), control2: CGPoint(x: 8.199, y: 2))
        p.addCurve(to: CGPoint(x: 5.475, y: 2.386), control1: CGPoint(x: 6.801, y: 2), control2: CGPoint(x: 6.126, y: 2.129))
        p.addCurve(to: CGPoint(x: 3.98, y: 3.273), control1: CGPoint(x: 4.926, y: 2.604), control2: CGPoint(x: 4.427, y: 2.899))
        p.addLine(to: CGPoint(x: 11.727, y: 11.02))
        p.addCurve(to: CGPoint(x: 12.614, y: 9.525), control1: CGPoint(x: 12.101, y: 10.573), control2: CGPoint(x: 12.396, y: 10.074))
        p.closeSubpath()
        p.move(to: CGPoint(x: 2.386, y: 5.475))
        p.addCurve(to: CGPoint(x: 2, y: 7.5), control1: CGPoint(x: 2.129, y: 6.126), control2: CGPoint(x: 2, y: 6.801))
        p.addCurve(to: CGPoint(x: 2.386, y: 9.525), control1: CGPoint(x: 2, y: 8.199), control2: CGPoint(x: 2.129, y: 8.874))
        p.addCurve(to: CGPoint(x: 3.611, y: 11.389), control1: CGPoint(x: 2.666, y: 10.231), control2: CGPoint(x: 3.074, y: 10.852))
        p.addCurve(to: CGPoint(x: 5.475, y: 12.614), control1: CGPoint(x: 4.148, y: 11.926), control2: CGPoint(x: 4.769, y: 12.334))
        p.addCurve(to: CGPoint(x: 7.5, y: 13), control1: CGPoint(x: 6.126, y: 12.871), control2: CGPoint(x: 6.801, y: 13))
        p.addCurve(to: CGPoint(x: 9.525, y: 12.614), control1: CGPoint(x: 8.199, y: 13), control2: CGPoint(x: 8.874, y: 12.871))
        p.addCurve(to: CGPoint(x: 11.02, y: 11.727), control1: CGPoint(x: 10.074, y: 12.396), control2: CGPoint(x: 10.573, y: 12.101))
        p.addLine(to: CGPoint(x: 3.273, y: 3.98))
        p.addCurve(to: CGPoint(x: 2.386, y: 5.475), control1: CGPoint(x: 2.899, y: 4.427), control2: CGPoint(x: 2.604, y: 4.926))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "ban" (line-round), MIT. https://gentleface.com/icons/ban
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 BanIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "ban", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M2.563 3.271L2.59 3.24C2.69 3.125 2.795 3.013 2.904 2.904C3.023 2.785 3.145 2.672 3.271 2.563C3.817 2.094 4.429 1.725 5.107 1.456C5.876 1.152 6.673 1 7.5 1C8.327 1 9.124 1.152 9.893 1.456C10.727 1.787 11.462 2.269 12.096 2.904C12.731 3.538 13.213 4.273 13.544 5.107C13.848 5.876 14 6.673 14 7.5C14 8.327 13.848 9.124 13.544 9.893C13.275 10.571 12.906 11.183 12.437 11.729L12.41 11.76C12.31 11.875 12.205 11.987 12.096 12.096C11.977 12.215 11.855 12.328 11.729 12.437C11.183 12.906 10.571 13.275 9.893 13.544C9.124 13.848 8.327 14 7.5 14C6.673 14 5.876 13.848 5.107 13.544C4.273 13.213 3.538 12.731 2.904 12.096C2.269 11.462 1.787 10.727 1.456 9.893C1.152 9.124 1 8.327 1 7.5C1 6.673 1.152 5.876 1.456 5.107C1.725 4.429 2.094 3.817 2.563 3.271ZM12.614 9.525C12.871 8.874 13 8.199 13 7.5C13 6.801 12.871 6.126 12.614 5.475C12.334 4.769 11.926 4.148 11.389 3.611C10.852 3.074 10.231 2.666 9.525 2.386C8.874 2.129 8.199 2 7.5 2C6.801 2 6.126 2.129 5.475 2.386C4.926 2.604 4.427 2.899 3.98 3.273L11.727 11.02C12.101 10.573 12.396 10.074 12.614 9.525ZM2.386 5.475C2.129 6.126 2 6.801 2 7.5C2 8.199 2.129 8.874 2.386 9.525C2.666 10.231 3.074 10.852 3.611 11.389C4.148 11.926 4.769 12.334 5.475 12.614C6.126 12.871 6.801 13 7.5 13C8.199 13 8.874 12.871 9.525 12.614C10.074 12.396 10.573 12.101 11.02 11.727L3.273 3.98C2.899 4.427 2.604 4.926 2.386 5.475Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_ban.xml · Gentleface "ban" (line-round), MIT. https://gentleface.com/icons/ban -->
<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="M2.563 3.271L2.59 3.24C2.69 3.125 2.795 3.013 2.904 2.904C3.023 2.785 3.145 2.672 3.271 2.563C3.817 2.094 4.429 1.725 5.107 1.456C5.876 1.152 6.673 1 7.5 1C8.327 1 9.124 1.152 9.893 1.456C10.727 1.787 11.462 2.269 12.096 2.904C12.731 3.538 13.213 4.273 13.544 5.107C13.848 5.876 14 6.673 14 7.5C14 8.327 13.848 9.124 13.544 9.893C13.275 10.571 12.906 11.183 12.437 11.729L12.41 11.76C12.31 11.875 12.205 11.987 12.096 12.096C11.977 12.215 11.855 12.328 11.729 12.437C11.183 12.906 10.571 13.275 9.893 13.544C9.124 13.848 8.327 14 7.5 14C6.673 14 5.876 13.848 5.107 13.544C4.273 13.213 3.538 12.731 2.904 12.096C2.269 11.462 1.787 10.727 1.456 9.893C1.152 9.124 1 8.327 1 7.5C1 6.673 1.152 5.876 1.456 5.107C1.725 4.429 2.094 3.817 2.563 3.271ZM12.614 9.525C12.871 8.874 13 8.199 13 7.5C13 6.801 12.871 6.126 12.614 5.475C12.334 4.769 11.926 4.148 11.389 3.611C10.852 3.074 10.231 2.666 9.525 2.386C8.874 2.129 8.199 2 7.5 2C6.801 2 6.126 2.129 5.475 2.386C4.926 2.604 4.427 2.899 3.98 3.273L11.727 11.02C12.101 10.573 12.396 10.074 12.614 9.525ZM2.386 5.475C2.129 6.126 2 6.801 2 7.5C2 8.199 2.129 8.874 2.386 9.525C2.666 10.231 3.074 10.852 3.611 11.389C4.148 11.926 4.769 12.334 5.475 12.614C6.126 12.871 6.801 13 7.5 13C8.199 13 8.874 12.871 9.525 12.614C10.074 12.396 10.573 12.101 11.02 11.727L3.273 3.98C2.899 4.427 2.604 4.926 2.386 5.475Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(2.563, 3.271)
      ..lineTo(2.59, 3.24)
      ..cubicTo(2.69, 3.125, 2.795, 3.013, 2.904, 2.904)
      ..cubicTo(3.023, 2.785, 3.145, 2.672, 3.271, 2.563)
      ..cubicTo(3.817, 2.094, 4.429, 1.725, 5.107, 1.456)
      ..cubicTo(5.876, 1.152, 6.673, 1, 7.5, 1)
      ..cubicTo(8.327, 1, 9.124, 1.152, 9.893, 1.456)
      ..cubicTo(10.727, 1.787, 11.462, 2.269, 12.096, 2.904)
      ..cubicTo(12.731, 3.538, 13.213, 4.273, 13.544, 5.107)
      ..cubicTo(13.848, 5.876, 14, 6.673, 14, 7.5)
      ..cubicTo(14, 8.327, 13.848, 9.124, 13.544, 9.893)
      ..cubicTo(13.275, 10.571, 12.906, 11.183, 12.437, 11.729)
      ..lineTo(12.41, 11.76)
      ..cubicTo(12.31, 11.875, 12.205, 11.987, 12.096, 12.096)
      ..cubicTo(11.977, 12.215, 11.855, 12.328, 11.729, 12.437)
      ..cubicTo(11.183, 12.906, 10.571, 13.275, 9.893, 13.544)
      ..cubicTo(9.124, 13.848, 8.327, 14, 7.5, 14)
      ..cubicTo(6.673, 14, 5.876, 13.848, 5.107, 13.544)
      ..cubicTo(4.273, 13.213, 3.538, 12.731, 2.904, 12.096)
      ..cubicTo(2.269, 11.462, 1.787, 10.727, 1.456, 9.893)
      ..cubicTo(1.152, 9.124, 1, 8.327, 1, 7.5)
      ..cubicTo(1, 6.673, 1.152, 5.876, 1.456, 5.107)
      ..cubicTo(1.725, 4.429, 2.094, 3.817, 2.563, 3.271)
      ..close()
      ..moveTo(12.614, 9.525)
      ..cubicTo(12.871, 8.874, 13, 8.199, 13, 7.5)
      ..cubicTo(13, 6.801, 12.871, 6.126, 12.614, 5.475)
      ..cubicTo(12.334, 4.769, 11.926, 4.148, 11.389, 3.611)
      ..cubicTo(10.852, 3.074, 10.231, 2.666, 9.525, 2.386)
      ..cubicTo(8.874, 2.129, 8.199, 2, 7.5, 2)
      ..cubicTo(6.801, 2, 6.126, 2.129, 5.475, 2.386)
      ..cubicTo(4.926, 2.604, 4.427, 2.899, 3.98, 3.273)
      ..lineTo(11.727, 11.02)
      ..cubicTo(12.101, 10.573, 12.396, 10.074, 12.614, 9.525)
      ..close()
      ..moveTo(2.386, 5.475)
      ..cubicTo(2.129, 6.126, 2, 6.801, 2, 7.5)
      ..cubicTo(2, 8.199, 2.129, 8.874, 2.386, 9.525)
      ..cubicTo(2.666, 10.231, 3.074, 10.852, 3.611, 11.389)
      ..cubicTo(4.148, 11.926, 4.769, 12.334, 5.475, 12.614)
      ..cubicTo(6.126, 12.871, 6.801, 13, 7.5, 13)
      ..cubicTo(8.199, 13, 8.874, 12.871, 9.525, 12.614)
      ..cubicTo(10.074, 12.396, 10.573, 12.101, 11.02, 11.727)
      ..lineTo(3.273, 3.98)
      ..cubicTo(2.899, 4.427, 2.604, 4.926, 2.386, 5.475)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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