# sword icon

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

- Category: Games & sports
- Use it for: sword, weapon, rpg, role playing game, melee
- Tags: sword, blade, weapon, attack, fight, rpg, fantasy, knight, game
- Family: swords
- Component name: SwordIcon
- Added: 2026-10-15

## Alternatives

- `swords`: a battle, combat or versus

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

The SVG of every style: https://gentleface.com/icons/sword.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="M8.854 9.854C8.681 10.026 8.484 10.16 8.26 10.257C8.189 10.288 8.116 10.314 8.043 10.336C8.033 10.345 8.022 10.353 8.01 10.361C8.071 10.384 8.126 10.419 8.172 10.465L9.854 12.146C9.953 12.246 10.003 12.364 10.003 12.5C10.003 12.636 9.953 12.754 9.854 12.854C9.754 12.953 9.636 13.003 9.5 13.003C9.364 13.003 9.246 12.953 9.146 12.854L7.465 11.172C7.289 10.996 7.289 10.711 7.465 10.535L7.535 10.465C7.554 10.446 7.573 10.43 7.595 10.415C7.592 10.414 7.59 10.413 7.588 10.412C7.559 10.414 7.529 10.414 7.5 10.414C7.236 10.414 6.982 10.362 6.74 10.257C6.673 10.228 6.609 10.196 6.547 10.16L3.207 13.5L3.854 14.146C3.953 14.246 4.003 14.364 4.003 14.5C4.003 14.636 3.953 14.754 3.854 14.854C3.756 14.951 3.638 15 3.5 15C3.362 15 3.244 14.951 3.146 14.854L1.146 12.854C1.047 12.754 0.997 12.636 0.997 12.5C0.997 12.364 1.047 12.246 1.146 12.146C1.244 12.049 1.362 12 1.5 12C1.638 12 1.756 12.049 1.854 12.146L2.5 12.793L5.84 9.453C5.804 9.391 5.772 9.327 5.743 9.26C5.638 9.018 5.586 8.764 5.586 8.5C5.586 8.471 5.586 8.441 5.588 8.412C5.587 8.41 5.586 8.408 5.585 8.405C5.57 8.427 5.554 8.446 5.535 8.465L5.465 8.535C5.289 8.711 5.004 8.711 4.828 8.535L3.146 6.854C3.047 6.754 2.997 6.636 2.997 6.5C2.997 6.364 3.047 6.246 3.146 6.146C3.244 6.049 3.362 6 3.5 6C3.638 6 3.756 6.049 3.854 6.146L5.535 7.828C5.581 7.874 5.616 7.929 5.639 7.99C5.647 7.978 5.655 7.967 5.664 7.957C5.686 7.884 5.712 7.811 5.743 7.74C5.84 7.516 5.974 7.319 6.146 7.146L11.439 1.854C11.713 1.58 12.028 1.37 12.385 1.222C12.742 1.074 13.114 1 13.5 1C13.691 1 13.875 1.035 14.052 1.105C14.245 1.182 14.414 1.293 14.561 1.439C14.707 1.586 14.818 1.755 14.895 1.948C14.965 2.125 15 2.309 15 2.5C15 2.886 14.926 3.258 14.778 3.615C14.63 3.972 14.42 4.287 14.146 4.561L8.854 9.854ZM13.439 3.854C13.619 3.674 13.757 3.467 13.854 3.233C13.951 2.998 14 2.754 14 2.5C14 2.362 13.951 2.244 13.854 2.146C13.756 2.049 13.638 2 13.5 2C13.246 2 13.002 2.049 12.767 2.146C12.533 2.243 12.326 2.381 12.146 2.561L6.854 7.854C6.675 8.032 6.586 8.248 6.586 8.5C6.586 8.752 6.675 8.968 6.854 9.146C7.032 9.325 7.248 9.414 7.5 9.414C7.752 9.414 7.968 9.325 8.146 9.146L13.439 3.854Z"/></svg>
```

### React

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

export function SwordIcon(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="M8.854 9.854C8.681 10.026 8.484 10.16 8.26 10.257C8.189 10.288 8.116 10.314 8.043 10.336C8.033 10.345 8.022 10.353 8.01 10.361C8.071 10.384 8.126 10.419 8.172 10.465L9.854 12.146C9.953 12.246 10.003 12.364 10.003 12.5C10.003 12.636 9.953 12.754 9.854 12.854C9.754 12.953 9.636 13.003 9.5 13.003C9.364 13.003 9.246 12.953 9.146 12.854L7.465 11.172C7.289 10.996 7.289 10.711 7.465 10.535L7.535 10.465C7.554 10.446 7.573 10.43 7.595 10.415C7.592 10.414 7.59 10.413 7.588 10.412C7.559 10.414 7.529 10.414 7.5 10.414C7.236 10.414 6.982 10.362 6.74 10.257C6.673 10.228 6.609 10.196 6.547 10.16L3.207 13.5L3.854 14.146C3.953 14.246 4.003 14.364 4.003 14.5C4.003 14.636 3.953 14.754 3.854 14.854C3.756 14.951 3.638 15 3.5 15C3.362 15 3.244 14.951 3.146 14.854L1.146 12.854C1.047 12.754 0.997 12.636 0.997 12.5C0.997 12.364 1.047 12.246 1.146 12.146C1.244 12.049 1.362 12 1.5 12C1.638 12 1.756 12.049 1.854 12.146L2.5 12.793L5.84 9.453C5.804 9.391 5.772 9.327 5.743 9.26C5.638 9.018 5.586 8.764 5.586 8.5C5.586 8.471 5.586 8.441 5.588 8.412C5.587 8.41 5.586 8.408 5.585 8.405C5.57 8.427 5.554 8.446 5.535 8.465L5.465 8.535C5.289 8.711 5.004 8.711 4.828 8.535L3.146 6.854C3.047 6.754 2.997 6.636 2.997 6.5C2.997 6.364 3.047 6.246 3.146 6.146C3.244 6.049 3.362 6 3.5 6C3.638 6 3.756 6.049 3.854 6.146L5.535 7.828C5.581 7.874 5.616 7.929 5.639 7.99C5.647 7.978 5.655 7.967 5.664 7.957C5.686 7.884 5.712 7.811 5.743 7.74C5.84 7.516 5.974 7.319 6.146 7.146L11.439 1.854C11.713 1.58 12.028 1.37 12.385 1.222C12.742 1.074 13.114 1 13.5 1C13.691 1 13.875 1.035 14.052 1.105C14.245 1.182 14.414 1.293 14.561 1.439C14.707 1.586 14.818 1.755 14.895 1.948C14.965 2.125 15 2.309 15 2.5C15 2.886 14.926 3.258 14.778 3.615C14.63 3.972 14.42 4.287 14.146 4.561L8.854 9.854ZM13.439 3.854C13.619 3.674 13.757 3.467 13.854 3.233C13.951 2.998 14 2.754 14 2.5C14 2.362 13.951 2.244 13.854 2.146C13.756 2.049 13.638 2 13.5 2C13.246 2 13.002 2.049 12.767 2.146C12.533 2.243 12.326 2.381 12.146 2.561L6.854 7.854C6.675 8.032 6.586 8.248 6.586 8.5C6.586 8.752 6.675 8.968 6.854 9.146C7.032 9.325 7.248 9.414 7.5 9.414C7.752 9.414 7.968 9.325 8.146 9.146L13.439 3.854Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "sword" (line-round), MIT. https://gentleface.com/icons/sword -->
<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="M8.854 9.854C8.681 10.026 8.484 10.16 8.26 10.257C8.189 10.288 8.116 10.314 8.043 10.336C8.033 10.345 8.022 10.353 8.01 10.361C8.071 10.384 8.126 10.419 8.172 10.465L9.854 12.146C9.953 12.246 10.003 12.364 10.003 12.5C10.003 12.636 9.953 12.754 9.854 12.854C9.754 12.953 9.636 13.003 9.5 13.003C9.364 13.003 9.246 12.953 9.146 12.854L7.465 11.172C7.289 10.996 7.289 10.711 7.465 10.535L7.535 10.465C7.554 10.446 7.573 10.43 7.595 10.415C7.592 10.414 7.59 10.413 7.588 10.412C7.559 10.414 7.529 10.414 7.5 10.414C7.236 10.414 6.982 10.362 6.74 10.257C6.673 10.228 6.609 10.196 6.547 10.16L3.207 13.5L3.854 14.146C3.953 14.246 4.003 14.364 4.003 14.5C4.003 14.636 3.953 14.754 3.854 14.854C3.756 14.951 3.638 15 3.5 15C3.362 15 3.244 14.951 3.146 14.854L1.146 12.854C1.047 12.754 0.997 12.636 0.997 12.5C0.997 12.364 1.047 12.246 1.146 12.146C1.244 12.049 1.362 12 1.5 12C1.638 12 1.756 12.049 1.854 12.146L2.5 12.793L5.84 9.453C5.804 9.391 5.772 9.327 5.743 9.26C5.638 9.018 5.586 8.764 5.586 8.5C5.586 8.471 5.586 8.441 5.588 8.412C5.587 8.41 5.586 8.408 5.585 8.405C5.57 8.427 5.554 8.446 5.535 8.465L5.465 8.535C5.289 8.711 5.004 8.711 4.828 8.535L3.146 6.854C3.047 6.754 2.997 6.636 2.997 6.5C2.997 6.364 3.047 6.246 3.146 6.146C3.244 6.049 3.362 6 3.5 6C3.638 6 3.756 6.049 3.854 6.146L5.535 7.828C5.581 7.874 5.616 7.929 5.639 7.99C5.647 7.978 5.655 7.967 5.664 7.957C5.686 7.884 5.712 7.811 5.743 7.74C5.84 7.516 5.974 7.319 6.146 7.146L11.439 1.854C11.713 1.58 12.028 1.37 12.385 1.222C12.742 1.074 13.114 1 13.5 1C13.691 1 13.875 1.035 14.052 1.105C14.245 1.182 14.414 1.293 14.561 1.439C14.707 1.586 14.818 1.755 14.895 1.948C14.965 2.125 15 2.309 15 2.5C15 2.886 14.926 3.258 14.778 3.615C14.63 3.972 14.42 4.287 14.146 4.561L8.854 9.854ZM13.439 3.854C13.619 3.674 13.757 3.467 13.854 3.233C13.951 2.998 14 2.754 14 2.5C14 2.362 13.951 2.244 13.854 2.146C13.756 2.049 13.638 2 13.5 2C13.246 2 13.002 2.049 12.767 2.146C12.533 2.243 12.326 2.381 12.146 2.561L6.854 7.854C6.675 8.032 6.586 8.248 6.586 8.5C6.586 8.752 6.675 8.968 6.854 9.146C7.032 9.325 7.248 9.414 7.5 9.414C7.752 9.414 7.968 9.325 8.146 9.146L13.439 3.854Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "sword" (line-round), MIT. https://gentleface.com/icons/sword -->
<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="M8.854 9.854C8.681 10.026 8.484 10.16 8.26 10.257C8.189 10.288 8.116 10.314 8.043 10.336C8.033 10.345 8.022 10.353 8.01 10.361C8.071 10.384 8.126 10.419 8.172 10.465L9.854 12.146C9.953 12.246 10.003 12.364 10.003 12.5C10.003 12.636 9.953 12.754 9.854 12.854C9.754 12.953 9.636 13.003 9.5 13.003C9.364 13.003 9.246 12.953 9.146 12.854L7.465 11.172C7.289 10.996 7.289 10.711 7.465 10.535L7.535 10.465C7.554 10.446 7.573 10.43 7.595 10.415C7.592 10.414 7.59 10.413 7.588 10.412C7.559 10.414 7.529 10.414 7.5 10.414C7.236 10.414 6.982 10.362 6.74 10.257C6.673 10.228 6.609 10.196 6.547 10.16L3.207 13.5L3.854 14.146C3.953 14.246 4.003 14.364 4.003 14.5C4.003 14.636 3.953 14.754 3.854 14.854C3.756 14.951 3.638 15 3.5 15C3.362 15 3.244 14.951 3.146 14.854L1.146 12.854C1.047 12.754 0.997 12.636 0.997 12.5C0.997 12.364 1.047 12.246 1.146 12.146C1.244 12.049 1.362 12 1.5 12C1.638 12 1.756 12.049 1.854 12.146L2.5 12.793L5.84 9.453C5.804 9.391 5.772 9.327 5.743 9.26C5.638 9.018 5.586 8.764 5.586 8.5C5.586 8.471 5.586 8.441 5.588 8.412C5.587 8.41 5.586 8.408 5.585 8.405C5.57 8.427 5.554 8.446 5.535 8.465L5.465 8.535C5.289 8.711 5.004 8.711 4.828 8.535L3.146 6.854C3.047 6.754 2.997 6.636 2.997 6.5C2.997 6.364 3.047 6.246 3.146 6.146C3.244 6.049 3.362 6 3.5 6C3.638 6 3.756 6.049 3.854 6.146L5.535 7.828C5.581 7.874 5.616 7.929 5.639 7.99C5.647 7.978 5.655 7.967 5.664 7.957C5.686 7.884 5.712 7.811 5.743 7.74C5.84 7.516 5.974 7.319 6.146 7.146L11.439 1.854C11.713 1.58 12.028 1.37 12.385 1.222C12.742 1.074 13.114 1 13.5 1C13.691 1 13.875 1.035 14.052 1.105C14.245 1.182 14.414 1.293 14.561 1.439C14.707 1.586 14.818 1.755 14.895 1.948C14.965 2.125 15 2.309 15 2.5C15 2.886 14.926 3.258 14.778 3.615C14.63 3.972 14.42 4.287 14.146 4.561L8.854 9.854ZM13.439 3.854C13.619 3.674 13.757 3.467 13.854 3.233C13.951 2.998 14 2.754 14 2.5C14 2.362 13.951 2.244 13.854 2.146C13.756 2.049 13.638 2 13.5 2C13.246 2 13.002 2.049 12.767 2.146C12.533 2.243 12.326 2.381 12.146 2.561L6.854 7.854C6.675 8.032 6.586 8.248 6.586 8.5C6.586 8.752 6.675 8.968 6.854 9.146C7.032 9.325 7.248 9.414 7.5 9.414C7.752 9.414 7.968 9.325 8.146 9.146L13.439 3.854Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "sword" (line-round), MIT. https://gentleface.com/icons/sword. Takes the text color. */
.icon-sword {
  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='M8.854 9.854C8.681 10.026 8.484 10.16 8.26 10.257C8.189 10.288 8.116 10.314 8.043 10.336C8.033 10.345 8.022 10.353 8.01 10.361C8.071 10.384 8.126 10.419 8.172 10.465L9.854 12.146C9.953 12.246 10.003 12.364 10.003 12.5C10.003 12.636 9.953 12.754 9.854 12.854C9.754 12.953 9.636 13.003 9.5 13.003C9.364 13.003 9.246 12.953 9.146 12.854L7.465 11.172C7.289 10.996 7.289 10.711 7.465 10.535L7.535 10.465C7.554 10.446 7.573 10.43 7.595 10.415C7.592 10.414 7.59 10.413 7.588 10.412C7.559 10.414 7.529 10.414 7.5 10.414C7.236 10.414 6.982 10.362 6.74 10.257C6.673 10.228 6.609 10.196 6.547 10.16L3.207 13.5L3.854 14.146C3.953 14.246 4.003 14.364 4.003 14.5C4.003 14.636 3.953 14.754 3.854 14.854C3.756 14.951 3.638 15 3.5 15C3.362 15 3.244 14.951 3.146 14.854L1.146 12.854C1.047 12.754 0.997 12.636 0.997 12.5C0.997 12.364 1.047 12.246 1.146 12.146C1.244 12.049 1.362 12 1.5 12C1.638 12 1.756 12.049 1.854 12.146L2.5 12.793L5.84 9.453C5.804 9.391 5.772 9.327 5.743 9.26C5.638 9.018 5.586 8.764 5.586 8.5C5.586 8.471 5.586 8.441 5.588 8.412C5.587 8.41 5.586 8.408 5.585 8.405C5.57 8.427 5.554 8.446 5.535 8.465L5.465 8.535C5.289 8.711 5.004 8.711 4.828 8.535L3.146 6.854C3.047 6.754 2.997 6.636 2.997 6.5C2.997 6.364 3.047 6.246 3.146 6.146C3.244 6.049 3.362 6 3.5 6C3.638 6 3.756 6.049 3.854 6.146L5.535 7.828C5.581 7.874 5.616 7.929 5.639 7.99C5.647 7.978 5.655 7.967 5.664 7.957C5.686 7.884 5.712 7.811 5.743 7.74C5.84 7.516 5.974 7.319 6.146 7.146L11.439 1.854C11.713 1.58 12.028 1.37 12.385 1.222C12.742 1.074 13.114 1 13.5 1C13.691 1 13.875 1.035 14.052 1.105C14.245 1.182 14.414 1.293 14.561 1.439C14.707 1.586 14.818 1.755 14.895 1.948C14.965 2.125 15 2.309 15 2.5C15 2.886 14.926 3.258 14.778 3.615C14.63 3.972 14.42 4.287 14.146 4.561L8.854 9.854ZM13.439 3.854C13.619 3.674 13.757 3.467 13.854 3.233C13.951 2.998 14 2.754 14 2.5C14 2.362 13.951 2.244 13.854 2.146C13.756 2.049 13.638 2 13.5 2C13.246 2 13.002 2.049 12.767 2.146C12.533 2.243 12.326 2.381 12.146 2.561L6.854 7.854C6.675 8.032 6.586 8.248 6.586 8.5C6.586 8.752 6.675 8.968 6.854 9.146C7.032 9.325 7.248 9.414 7.5 9.414C7.752 9.414 7.968 9.325 8.146 9.146L13.439 3.854Z'/%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='M8.854 9.854C8.681 10.026 8.484 10.16 8.26 10.257C8.189 10.288 8.116 10.314 8.043 10.336C8.033 10.345 8.022 10.353 8.01 10.361C8.071 10.384 8.126 10.419 8.172 10.465L9.854 12.146C9.953 12.246 10.003 12.364 10.003 12.5C10.003 12.636 9.953 12.754 9.854 12.854C9.754 12.953 9.636 13.003 9.5 13.003C9.364 13.003 9.246 12.953 9.146 12.854L7.465 11.172C7.289 10.996 7.289 10.711 7.465 10.535L7.535 10.465C7.554 10.446 7.573 10.43 7.595 10.415C7.592 10.414 7.59 10.413 7.588 10.412C7.559 10.414 7.529 10.414 7.5 10.414C7.236 10.414 6.982 10.362 6.74 10.257C6.673 10.228 6.609 10.196 6.547 10.16L3.207 13.5L3.854 14.146C3.953 14.246 4.003 14.364 4.003 14.5C4.003 14.636 3.953 14.754 3.854 14.854C3.756 14.951 3.638 15 3.5 15C3.362 15 3.244 14.951 3.146 14.854L1.146 12.854C1.047 12.754 0.997 12.636 0.997 12.5C0.997 12.364 1.047 12.246 1.146 12.146C1.244 12.049 1.362 12 1.5 12C1.638 12 1.756 12.049 1.854 12.146L2.5 12.793L5.84 9.453C5.804 9.391 5.772 9.327 5.743 9.26C5.638 9.018 5.586 8.764 5.586 8.5C5.586 8.471 5.586 8.441 5.588 8.412C5.587 8.41 5.586 8.408 5.585 8.405C5.57 8.427 5.554 8.446 5.535 8.465L5.465 8.535C5.289 8.711 5.004 8.711 4.828 8.535L3.146 6.854C3.047 6.754 2.997 6.636 2.997 6.5C2.997 6.364 3.047 6.246 3.146 6.146C3.244 6.049 3.362 6 3.5 6C3.638 6 3.756 6.049 3.854 6.146L5.535 7.828C5.581 7.874 5.616 7.929 5.639 7.99C5.647 7.978 5.655 7.967 5.664 7.957C5.686 7.884 5.712 7.811 5.743 7.74C5.84 7.516 5.974 7.319 6.146 7.146L11.439 1.854C11.713 1.58 12.028 1.37 12.385 1.222C12.742 1.074 13.114 1 13.5 1C13.691 1 13.875 1.035 14.052 1.105C14.245 1.182 14.414 1.293 14.561 1.439C14.707 1.586 14.818 1.755 14.895 1.948C14.965 2.125 15 2.309 15 2.5C15 2.886 14.926 3.258 14.778 3.615C14.63 3.972 14.42 4.287 14.146 4.561L8.854 9.854ZM13.439 3.854C13.619 3.674 13.757 3.467 13.854 3.233C13.951 2.998 14 2.754 14 2.5C14 2.362 13.951 2.244 13.854 2.146C13.756 2.049 13.638 2 13.5 2C13.246 2 13.002 2.049 12.767 2.146C12.533 2.243 12.326 2.381 12.146 2.561L6.854 7.854C6.675 8.032 6.586 8.248 6.586 8.5C6.586 8.752 6.675 8.968 6.854 9.146C7.032 9.325 7.248 9.414 7.5 9.414C7.752 9.414 7.968 9.325 8.146 9.146L13.439 3.854Z'/%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='M8.854 9.854C8.681 10.026 8.484 10.16 8.26 10.257C8.189 10.288 8.116 10.314 8.043 10.336C8.033 10.345 8.022 10.353 8.01 10.361C8.071 10.384 8.126 10.419 8.172 10.465L9.854 12.146C9.953 12.246 10.003 12.364 10.003 12.5C10.003 12.636 9.953 12.754 9.854 12.854C9.754 12.953 9.636 13.003 9.5 13.003C9.364 13.003 9.246 12.953 9.146 12.854L7.465 11.172C7.289 10.996 7.289 10.711 7.465 10.535L7.535 10.465C7.554 10.446 7.573 10.43 7.595 10.415C7.592 10.414 7.59 10.413 7.588 10.412C7.559 10.414 7.529 10.414 7.5 10.414C7.236 10.414 6.982 10.362 6.74 10.257C6.673 10.228 6.609 10.196 6.547 10.16L3.207 13.5L3.854 14.146C3.953 14.246 4.003 14.364 4.003 14.5C4.003 14.636 3.953 14.754 3.854 14.854C3.756 14.951 3.638 15 3.5 15C3.362 15 3.244 14.951 3.146 14.854L1.146 12.854C1.047 12.754 0.997 12.636 0.997 12.5C0.997 12.364 1.047 12.246 1.146 12.146C1.244 12.049 1.362 12 1.5 12C1.638 12 1.756 12.049 1.854 12.146L2.5 12.793L5.84 9.453C5.804 9.391 5.772 9.327 5.743 9.26C5.638 9.018 5.586 8.764 5.586 8.5C5.586 8.471 5.586 8.441 5.588 8.412C5.587 8.41 5.586 8.408 5.585 8.405C5.57 8.427 5.554 8.446 5.535 8.465L5.465 8.535C5.289 8.711 5.004 8.711 4.828 8.535L3.146 6.854C3.047 6.754 2.997 6.636 2.997 6.5C2.997 6.364 3.047 6.246 3.146 6.146C3.244 6.049 3.362 6 3.5 6C3.638 6 3.756 6.049 3.854 6.146L5.535 7.828C5.581 7.874 5.616 7.929 5.639 7.99C5.647 7.978 5.655 7.967 5.664 7.957C5.686 7.884 5.712 7.811 5.743 7.74C5.84 7.516 5.974 7.319 6.146 7.146L11.439 1.854C11.713 1.58 12.028 1.37 12.385 1.222C12.742 1.074 13.114 1 13.5 1C13.691 1 13.875 1.035 14.052 1.105C14.245 1.182 14.414 1.293 14.561 1.439C14.707 1.586 14.818 1.755 14.895 1.948C14.965 2.125 15 2.309 15 2.5C15 2.886 14.926 3.258 14.778 3.615C14.63 3.972 14.42 4.287 14.146 4.561L8.854 9.854ZM13.439 3.854C13.619 3.674 13.757 3.467 13.854 3.233C13.951 2.998 14 2.754 14 2.5C14 2.362 13.951 2.244 13.854 2.146C13.756 2.049 13.638 2 13.5 2C13.246 2 13.002 2.049 12.767 2.146C12.533 2.243 12.326 2.381 12.146 2.561L6.854 7.854C6.675 8.032 6.586 8.248 6.586 8.5C6.586 8.752 6.675 8.968 6.854 9.146C7.032 9.325 7.248 9.414 7.5 9.414C7.752 9.414 7.968 9.325 8.146 9.146L13.439 3.854Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct SwordIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 8.854, y: 9.854))
        p.addCurve(to: CGPoint(x: 8.26, y: 10.257), control1: CGPoint(x: 8.681, y: 10.026), control2: CGPoint(x: 8.484, y: 10.16))
        p.addCurve(to: CGPoint(x: 8.043, y: 10.336), control1: CGPoint(x: 8.189, y: 10.288), control2: CGPoint(x: 8.116, y: 10.314))
        p.addCurve(to: CGPoint(x: 8.01, y: 10.361), control1: CGPoint(x: 8.033, y: 10.345), control2: CGPoint(x: 8.022, y: 10.353))
        p.addCurve(to: CGPoint(x: 8.172, y: 10.465), control1: CGPoint(x: 8.071, y: 10.384), control2: CGPoint(x: 8.126, y: 10.419))
        p.addLine(to: CGPoint(x: 9.854, y: 12.146))
        p.addCurve(to: CGPoint(x: 10.003, y: 12.5), control1: CGPoint(x: 9.953, y: 12.246), control2: CGPoint(x: 10.003, y: 12.364))
        p.addCurve(to: CGPoint(x: 9.854, y: 12.854), control1: CGPoint(x: 10.003, y: 12.636), control2: CGPoint(x: 9.953, y: 12.754))
        p.addCurve(to: CGPoint(x: 9.5, y: 13.003), control1: CGPoint(x: 9.754, y: 12.953), control2: CGPoint(x: 9.636, y: 13.003))
        p.addCurve(to: CGPoint(x: 9.146, y: 12.854), control1: CGPoint(x: 9.364, y: 13.003), control2: CGPoint(x: 9.246, y: 12.953))
        p.addLine(to: CGPoint(x: 7.465, y: 11.172))
        p.addCurve(to: CGPoint(x: 7.465, y: 10.535), control1: CGPoint(x: 7.289, y: 10.996), control2: CGPoint(x: 7.289, y: 10.711))
        p.addLine(to: CGPoint(x: 7.535, y: 10.465))
        p.addCurve(to: CGPoint(x: 7.595, y: 10.415), control1: CGPoint(x: 7.554, y: 10.446), control2: CGPoint(x: 7.573, y: 10.43))
        p.addCurve(to: CGPoint(x: 7.588, y: 10.412), control1: CGPoint(x: 7.592, y: 10.414), control2: CGPoint(x: 7.59, y: 10.413))
        p.addCurve(to: CGPoint(x: 7.5, y: 10.414), control1: CGPoint(x: 7.559, y: 10.414), control2: CGPoint(x: 7.529, y: 10.414))
        p.addCurve(to: CGPoint(x: 6.74, y: 10.257), control1: CGPoint(x: 7.236, y: 10.414), control2: CGPoint(x: 6.982, y: 10.362))
        p.addCurve(to: CGPoint(x: 6.547, y: 10.16), control1: CGPoint(x: 6.673, y: 10.228), control2: CGPoint(x: 6.609, y: 10.196))
        p.addLine(to: CGPoint(x: 3.207, y: 13.5))
        p.addLine(to: CGPoint(x: 3.854, y: 14.146))
        p.addCurve(to: CGPoint(x: 4.003, y: 14.5), control1: CGPoint(x: 3.953, y: 14.246), control2: CGPoint(x: 4.003, y: 14.364))
        p.addCurve(to: CGPoint(x: 3.854, y: 14.854), control1: CGPoint(x: 4.003, y: 14.636), control2: CGPoint(x: 3.953, y: 14.754))
        p.addCurve(to: CGPoint(x: 3.5, y: 15), control1: CGPoint(x: 3.756, y: 14.951), control2: CGPoint(x: 3.638, y: 15))
        p.addCurve(to: CGPoint(x: 3.146, y: 14.854), control1: CGPoint(x: 3.362, y: 15), control2: CGPoint(x: 3.244, y: 14.951))
        p.addLine(to: CGPoint(x: 1.146, y: 12.854))
        p.addCurve(to: CGPoint(x: 0.997, y: 12.5), control1: CGPoint(x: 1.047, y: 12.754), control2: CGPoint(x: 0.997, y: 12.636))
        p.addCurve(to: CGPoint(x: 1.146, y: 12.146), control1: CGPoint(x: 0.997, y: 12.364), control2: CGPoint(x: 1.047, y: 12.246))
        p.addCurve(to: CGPoint(x: 1.5, y: 12), control1: CGPoint(x: 1.244, y: 12.049), control2: CGPoint(x: 1.362, y: 12))
        p.addCurve(to: CGPoint(x: 1.854, y: 12.146), control1: CGPoint(x: 1.638, y: 12), control2: CGPoint(x: 1.756, y: 12.049))
        p.addLine(to: CGPoint(x: 2.5, y: 12.793))
        p.addLine(to: CGPoint(x: 5.84, y: 9.453))
        p.addCurve(to: CGPoint(x: 5.743, y: 9.26), control1: CGPoint(x: 5.804, y: 9.391), control2: CGPoint(x: 5.772, y: 9.327))
        p.addCurve(to: CGPoint(x: 5.586, y: 8.5), control1: CGPoint(x: 5.638, y: 9.018), control2: CGPoint(x: 5.586, y: 8.764))
        p.addCurve(to: CGPoint(x: 5.588, y: 8.412), control1: CGPoint(x: 5.586, y: 8.471), control2: CGPoint(x: 5.586, y: 8.441))
        p.addCurve(to: CGPoint(x: 5.585, y: 8.405), control1: CGPoint(x: 5.587, y: 8.41), control2: CGPoint(x: 5.586, y: 8.408))
        p.addCurve(to: CGPoint(x: 5.535, y: 8.465), control1: CGPoint(x: 5.57, y: 8.427), control2: CGPoint(x: 5.554, y: 8.446))
        p.addLine(to: CGPoint(x: 5.465, y: 8.535))
        p.addCurve(to: CGPoint(x: 4.828, y: 8.535), control1: CGPoint(x: 5.289, y: 8.711), control2: CGPoint(x: 5.004, y: 8.711))
        p.addLine(to: CGPoint(x: 3.146, y: 6.854))
        p.addCurve(to: CGPoint(x: 2.997, y: 6.5), control1: CGPoint(x: 3.047, y: 6.754), control2: CGPoint(x: 2.997, y: 6.636))
        p.addCurve(to: CGPoint(x: 3.146, y: 6.146), control1: CGPoint(x: 2.997, y: 6.364), control2: CGPoint(x: 3.047, y: 6.246))
        p.addCurve(to: CGPoint(x: 3.5, y: 6), control1: CGPoint(x: 3.244, y: 6.049), control2: CGPoint(x: 3.362, y: 6))
        p.addCurve(to: CGPoint(x: 3.854, y: 6.146), control1: CGPoint(x: 3.638, y: 6), control2: CGPoint(x: 3.756, y: 6.049))
        p.addLine(to: CGPoint(x: 5.535, y: 7.828))
        p.addCurve(to: CGPoint(x: 5.639, y: 7.99), control1: CGPoint(x: 5.581, y: 7.874), control2: CGPoint(x: 5.616, y: 7.929))
        p.addCurve(to: CGPoint(x: 5.664, y: 7.957), control1: CGPoint(x: 5.647, y: 7.978), control2: CGPoint(x: 5.655, y: 7.967))
        p.addCurve(to: CGPoint(x: 5.743, y: 7.74), control1: CGPoint(x: 5.686, y: 7.884), control2: CGPoint(x: 5.712, y: 7.811))
        p.addCurve(to: CGPoint(x: 6.146, y: 7.146), control1: CGPoint(x: 5.84, y: 7.516), control2: CGPoint(x: 5.974, y: 7.319))
        p.addLine(to: CGPoint(x: 11.439, y: 1.854))
        p.addCurve(to: CGPoint(x: 12.385, y: 1.222), control1: CGPoint(x: 11.713, y: 1.58), control2: CGPoint(x: 12.028, y: 1.37))
        p.addCurve(to: CGPoint(x: 13.5, y: 1), control1: CGPoint(x: 12.742, y: 1.074), control2: CGPoint(x: 13.114, y: 1))
        p.addCurve(to: CGPoint(x: 14.052, y: 1.105), control1: CGPoint(x: 13.691, y: 1), control2: CGPoint(x: 13.875, y: 1.035))
        p.addCurve(to: CGPoint(x: 14.561, y: 1.439), control1: CGPoint(x: 14.245, y: 1.182), control2: CGPoint(x: 14.414, y: 1.293))
        p.addCurve(to: CGPoint(x: 14.895, y: 1.948), control1: CGPoint(x: 14.707, y: 1.586), control2: CGPoint(x: 14.818, y: 1.755))
        p.addCurve(to: CGPoint(x: 15, y: 2.5), control1: CGPoint(x: 14.965, y: 2.125), control2: CGPoint(x: 15, y: 2.309))
        p.addCurve(to: CGPoint(x: 14.778, y: 3.615), control1: CGPoint(x: 15, y: 2.886), control2: CGPoint(x: 14.926, y: 3.258))
        p.addCurve(to: CGPoint(x: 14.146, y: 4.561), control1: CGPoint(x: 14.63, y: 3.972), control2: CGPoint(x: 14.42, y: 4.287))
        p.addLine(to: CGPoint(x: 8.854, y: 9.854))
        p.closeSubpath()
        p.move(to: CGPoint(x: 13.439, y: 3.854))
        p.addCurve(to: CGPoint(x: 13.854, y: 3.233), control1: CGPoint(x: 13.619, y: 3.674), control2: CGPoint(x: 13.757, y: 3.467))
        p.addCurve(to: CGPoint(x: 14, y: 2.5), control1: CGPoint(x: 13.951, y: 2.998), control2: CGPoint(x: 14, y: 2.754))
        p.addCurve(to: CGPoint(x: 13.854, y: 2.146), control1: CGPoint(x: 14, y: 2.362), control2: CGPoint(x: 13.951, y: 2.244))
        p.addCurve(to: CGPoint(x: 13.5, y: 2), control1: CGPoint(x: 13.756, y: 2.049), control2: CGPoint(x: 13.638, y: 2))
        p.addCurve(to: CGPoint(x: 12.767, y: 2.146), control1: CGPoint(x: 13.246, y: 2), control2: CGPoint(x: 13.002, y: 2.049))
        p.addCurve(to: CGPoint(x: 12.146, y: 2.561), control1: CGPoint(x: 12.533, y: 2.243), control2: CGPoint(x: 12.326, y: 2.381))
        p.addLine(to: CGPoint(x: 6.854, y: 7.854))
        p.addCurve(to: CGPoint(x: 6.586, y: 8.5), control1: CGPoint(x: 6.675, y: 8.032), control2: CGPoint(x: 6.586, y: 8.248))
        p.addCurve(to: CGPoint(x: 6.854, y: 9.146), control1: CGPoint(x: 6.586, y: 8.752), control2: CGPoint(x: 6.675, y: 8.968))
        p.addCurve(to: CGPoint(x: 7.5, y: 9.414), control1: CGPoint(x: 7.032, y: 9.325), control2: CGPoint(x: 7.248, y: 9.414))
        p.addCurve(to: CGPoint(x: 8.146, y: 9.146), control1: CGPoint(x: 7.752, y: 9.414), control2: CGPoint(x: 7.968, y: 9.325))
        p.addLine(to: CGPoint(x: 13.439, y: 3.854))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "sword" (line-round), MIT. https://gentleface.com/icons/sword
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 SwordIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "sword", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M8.854 9.854C8.681 10.026 8.484 10.16 8.26 10.257C8.189 10.288 8.116 10.314 8.043 10.336C8.033 10.345 8.022 10.353 8.01 10.361C8.071 10.384 8.126 10.419 8.172 10.465L9.854 12.146C9.953 12.246 10.003 12.364 10.003 12.5C10.003 12.636 9.953 12.754 9.854 12.854C9.754 12.953 9.636 13.003 9.5 13.003C9.364 13.003 9.246 12.953 9.146 12.854L7.465 11.172C7.289 10.996 7.289 10.711 7.465 10.535L7.535 10.465C7.554 10.446 7.573 10.43 7.595 10.415C7.592 10.414 7.59 10.413 7.588 10.412C7.559 10.414 7.529 10.414 7.5 10.414C7.236 10.414 6.982 10.362 6.74 10.257C6.673 10.228 6.609 10.196 6.547 10.16L3.207 13.5L3.854 14.146C3.953 14.246 4.003 14.364 4.003 14.5C4.003 14.636 3.953 14.754 3.854 14.854C3.756 14.951 3.638 15 3.5 15C3.362 15 3.244 14.951 3.146 14.854L1.146 12.854C1.047 12.754 0.997 12.636 0.997 12.5C0.997 12.364 1.047 12.246 1.146 12.146C1.244 12.049 1.362 12 1.5 12C1.638 12 1.756 12.049 1.854 12.146L2.5 12.793L5.84 9.453C5.804 9.391 5.772 9.327 5.743 9.26C5.638 9.018 5.586 8.764 5.586 8.5C5.586 8.471 5.586 8.441 5.588 8.412C5.587 8.41 5.586 8.408 5.585 8.405C5.57 8.427 5.554 8.446 5.535 8.465L5.465 8.535C5.289 8.711 5.004 8.711 4.828 8.535L3.146 6.854C3.047 6.754 2.997 6.636 2.997 6.5C2.997 6.364 3.047 6.246 3.146 6.146C3.244 6.049 3.362 6 3.5 6C3.638 6 3.756 6.049 3.854 6.146L5.535 7.828C5.581 7.874 5.616 7.929 5.639 7.99C5.647 7.978 5.655 7.967 5.664 7.957C5.686 7.884 5.712 7.811 5.743 7.74C5.84 7.516 5.974 7.319 6.146 7.146L11.439 1.854C11.713 1.58 12.028 1.37 12.385 1.222C12.742 1.074 13.114 1 13.5 1C13.691 1 13.875 1.035 14.052 1.105C14.245 1.182 14.414 1.293 14.561 1.439C14.707 1.586 14.818 1.755 14.895 1.948C14.965 2.125 15 2.309 15 2.5C15 2.886 14.926 3.258 14.778 3.615C14.63 3.972 14.42 4.287 14.146 4.561L8.854 9.854ZM13.439 3.854C13.619 3.674 13.757 3.467 13.854 3.233C13.951 2.998 14 2.754 14 2.5C14 2.362 13.951 2.244 13.854 2.146C13.756 2.049 13.638 2 13.5 2C13.246 2 13.002 2.049 12.767 2.146C12.533 2.243 12.326 2.381 12.146 2.561L6.854 7.854C6.675 8.032 6.586 8.248 6.586 8.5C6.586 8.752 6.675 8.968 6.854 9.146C7.032 9.325 7.248 9.414 7.5 9.414C7.752 9.414 7.968 9.325 8.146 9.146L13.439 3.854Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_sword.xml · Gentleface "sword" (line-round), MIT. https://gentleface.com/icons/sword -->
<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="M8.854 9.854C8.681 10.026 8.484 10.16 8.26 10.257C8.189 10.288 8.116 10.314 8.043 10.336C8.033 10.345 8.022 10.353 8.01 10.361C8.071 10.384 8.126 10.419 8.172 10.465L9.854 12.146C9.953 12.246 10.003 12.364 10.003 12.5C10.003 12.636 9.953 12.754 9.854 12.854C9.754 12.953 9.636 13.003 9.5 13.003C9.364 13.003 9.246 12.953 9.146 12.854L7.465 11.172C7.289 10.996 7.289 10.711 7.465 10.535L7.535 10.465C7.554 10.446 7.573 10.43 7.595 10.415C7.592 10.414 7.59 10.413 7.588 10.412C7.559 10.414 7.529 10.414 7.5 10.414C7.236 10.414 6.982 10.362 6.74 10.257C6.673 10.228 6.609 10.196 6.547 10.16L3.207 13.5L3.854 14.146C3.953 14.246 4.003 14.364 4.003 14.5C4.003 14.636 3.953 14.754 3.854 14.854C3.756 14.951 3.638 15 3.5 15C3.362 15 3.244 14.951 3.146 14.854L1.146 12.854C1.047 12.754 0.997 12.636 0.997 12.5C0.997 12.364 1.047 12.246 1.146 12.146C1.244 12.049 1.362 12 1.5 12C1.638 12 1.756 12.049 1.854 12.146L2.5 12.793L5.84 9.453C5.804 9.391 5.772 9.327 5.743 9.26C5.638 9.018 5.586 8.764 5.586 8.5C5.586 8.471 5.586 8.441 5.588 8.412C5.587 8.41 5.586 8.408 5.585 8.405C5.57 8.427 5.554 8.446 5.535 8.465L5.465 8.535C5.289 8.711 5.004 8.711 4.828 8.535L3.146 6.854C3.047 6.754 2.997 6.636 2.997 6.5C2.997 6.364 3.047 6.246 3.146 6.146C3.244 6.049 3.362 6 3.5 6C3.638 6 3.756 6.049 3.854 6.146L5.535 7.828C5.581 7.874 5.616 7.929 5.639 7.99C5.647 7.978 5.655 7.967 5.664 7.957C5.686 7.884 5.712 7.811 5.743 7.74C5.84 7.516 5.974 7.319 6.146 7.146L11.439 1.854C11.713 1.58 12.028 1.37 12.385 1.222C12.742 1.074 13.114 1 13.5 1C13.691 1 13.875 1.035 14.052 1.105C14.245 1.182 14.414 1.293 14.561 1.439C14.707 1.586 14.818 1.755 14.895 1.948C14.965 2.125 15 2.309 15 2.5C15 2.886 14.926 3.258 14.778 3.615C14.63 3.972 14.42 4.287 14.146 4.561L8.854 9.854ZM13.439 3.854C13.619 3.674 13.757 3.467 13.854 3.233C13.951 2.998 14 2.754 14 2.5C14 2.362 13.951 2.244 13.854 2.146C13.756 2.049 13.638 2 13.5 2C13.246 2 13.002 2.049 12.767 2.146C12.533 2.243 12.326 2.381 12.146 2.561L6.854 7.854C6.675 8.032 6.586 8.248 6.586 8.5C6.586 8.752 6.675 8.968 6.854 9.146C7.032 9.325 7.248 9.414 7.5 9.414C7.752 9.414 7.968 9.325 8.146 9.146L13.439 3.854Z"/>
</vector>
```

### Flutter

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

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

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

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

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(8.854, 9.854)
      ..cubicTo(8.681, 10.026, 8.484, 10.16, 8.26, 10.257)
      ..cubicTo(8.189, 10.288, 8.116, 10.314, 8.043, 10.336)
      ..cubicTo(8.033, 10.345, 8.022, 10.353, 8.01, 10.361)
      ..cubicTo(8.071, 10.384, 8.126, 10.419, 8.172, 10.465)
      ..lineTo(9.854, 12.146)
      ..cubicTo(9.953, 12.246, 10.003, 12.364, 10.003, 12.5)
      ..cubicTo(10.003, 12.636, 9.953, 12.754, 9.854, 12.854)
      ..cubicTo(9.754, 12.953, 9.636, 13.003, 9.5, 13.003)
      ..cubicTo(9.364, 13.003, 9.246, 12.953, 9.146, 12.854)
      ..lineTo(7.465, 11.172)
      ..cubicTo(7.289, 10.996, 7.289, 10.711, 7.465, 10.535)
      ..lineTo(7.535, 10.465)
      ..cubicTo(7.554, 10.446, 7.573, 10.43, 7.595, 10.415)
      ..cubicTo(7.592, 10.414, 7.59, 10.413, 7.588, 10.412)
      ..cubicTo(7.559, 10.414, 7.529, 10.414, 7.5, 10.414)
      ..cubicTo(7.236, 10.414, 6.982, 10.362, 6.74, 10.257)
      ..cubicTo(6.673, 10.228, 6.609, 10.196, 6.547, 10.16)
      ..lineTo(3.207, 13.5)
      ..lineTo(3.854, 14.146)
      ..cubicTo(3.953, 14.246, 4.003, 14.364, 4.003, 14.5)
      ..cubicTo(4.003, 14.636, 3.953, 14.754, 3.854, 14.854)
      ..cubicTo(3.756, 14.951, 3.638, 15, 3.5, 15)
      ..cubicTo(3.362, 15, 3.244, 14.951, 3.146, 14.854)
      ..lineTo(1.146, 12.854)
      ..cubicTo(1.047, 12.754, 0.997, 12.636, 0.997, 12.5)
      ..cubicTo(0.997, 12.364, 1.047, 12.246, 1.146, 12.146)
      ..cubicTo(1.244, 12.049, 1.362, 12, 1.5, 12)
      ..cubicTo(1.638, 12, 1.756, 12.049, 1.854, 12.146)
      ..lineTo(2.5, 12.793)
      ..lineTo(5.84, 9.453)
      ..cubicTo(5.804, 9.391, 5.772, 9.327, 5.743, 9.26)
      ..cubicTo(5.638, 9.018, 5.586, 8.764, 5.586, 8.5)
      ..cubicTo(5.586, 8.471, 5.586, 8.441, 5.588, 8.412)
      ..cubicTo(5.587, 8.41, 5.586, 8.408, 5.585, 8.405)
      ..cubicTo(5.57, 8.427, 5.554, 8.446, 5.535, 8.465)
      ..lineTo(5.465, 8.535)
      ..cubicTo(5.289, 8.711, 5.004, 8.711, 4.828, 8.535)
      ..lineTo(3.146, 6.854)
      ..cubicTo(3.047, 6.754, 2.997, 6.636, 2.997, 6.5)
      ..cubicTo(2.997, 6.364, 3.047, 6.246, 3.146, 6.146)
      ..cubicTo(3.244, 6.049, 3.362, 6, 3.5, 6)
      ..cubicTo(3.638, 6, 3.756, 6.049, 3.854, 6.146)
      ..lineTo(5.535, 7.828)
      ..cubicTo(5.581, 7.874, 5.616, 7.929, 5.639, 7.99)
      ..cubicTo(5.647, 7.978, 5.655, 7.967, 5.664, 7.957)
      ..cubicTo(5.686, 7.884, 5.712, 7.811, 5.743, 7.74)
      ..cubicTo(5.84, 7.516, 5.974, 7.319, 6.146, 7.146)
      ..lineTo(11.439, 1.854)
      ..cubicTo(11.713, 1.58, 12.028, 1.37, 12.385, 1.222)
      ..cubicTo(12.742, 1.074, 13.114, 1, 13.5, 1)
      ..cubicTo(13.691, 1, 13.875, 1.035, 14.052, 1.105)
      ..cubicTo(14.245, 1.182, 14.414, 1.293, 14.561, 1.439)
      ..cubicTo(14.707, 1.586, 14.818, 1.755, 14.895, 1.948)
      ..cubicTo(14.965, 2.125, 15, 2.309, 15, 2.5)
      ..cubicTo(15, 2.886, 14.926, 3.258, 14.778, 3.615)
      ..cubicTo(14.63, 3.972, 14.42, 4.287, 14.146, 4.561)
      ..lineTo(8.854, 9.854)
      ..close()
      ..moveTo(13.439, 3.854)
      ..cubicTo(13.619, 3.674, 13.757, 3.467, 13.854, 3.233)
      ..cubicTo(13.951, 2.998, 14, 2.754, 14, 2.5)
      ..cubicTo(14, 2.362, 13.951, 2.244, 13.854, 2.146)
      ..cubicTo(13.756, 2.049, 13.638, 2, 13.5, 2)
      ..cubicTo(13.246, 2, 13.002, 2.049, 12.767, 2.146)
      ..cubicTo(12.533, 2.243, 12.326, 2.381, 12.146, 2.561)
      ..lineTo(6.854, 7.854)
      ..cubicTo(6.675, 8.032, 6.586, 8.248, 6.586, 8.5)
      ..cubicTo(6.586, 8.752, 6.675, 8.968, 6.854, 9.146)
      ..cubicTo(7.032, 9.325, 7.248, 9.414, 7.5, 9.414)
      ..cubicTo(7.752, 9.414, 7.968, 9.325, 8.146, 9.146)
      ..lineTo(13.439, 3.854)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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