# hammer icon

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

- Category: Tools
- Use it for: hammer, build, compile, build project
- Tags: hammer, build, construction, tool, repair, diy, compile
- Component name: HammerIcon
- Added: 2026-10-14

## Don't confuse with

- `wrench`: Material's build icon is a wrench, but wrench owns maintenance and repair

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

The SVG of every style: https://gentleface.com/icons/hammer.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.207 10.5C12.012 10.695 11.776 10.793 11.5 10.793C11.224 10.793 10.988 10.695 10.793 10.5L9.5 9.207L4.207 14.5C4.012 14.695 3.776 14.793 3.5 14.793C3.224 14.793 2.988 14.695 2.793 14.5L1.5 13.207C1.305 13.012 1.207 12.776 1.207 12.5C1.207 12.224 1.305 11.988 1.5 11.793L6.793 6.5L4.637 4.344C4.53 4.237 4.452 4.113 4.401 3.971C4.344 3.81 4.33 3.645 4.357 3.477C4.384 3.308 4.45 3.157 4.555 3.022C4.648 2.903 4.762 2.81 4.897 2.743L7.954 1.214C8.147 1.118 8.349 1.087 8.561 1.121C8.774 1.156 8.956 1.249 9.108 1.401L14.5 6.793C14.695 6.988 14.793 7.224 14.793 7.5C14.793 7.776 14.695 8.012 14.5 8.207L12.207 10.5ZM7.5 5.793C7.631 5.924 7.718 6.072 7.761 6.239C7.88 6.239 7.994 6.287 8.078 6.371L9.629 7.922C9.713 8.006 9.761 8.12 9.761 8.239C9.928 8.282 10.076 8.369 10.207 8.5L11.5 9.793L13.793 7.5L8.401 2.108L5.344 3.637L7.5 5.793ZM3.5 13.793L8.793 8.5L7.5 7.207L2.207 12.5L3.5 13.793Z"/></svg>
```

### React

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

export function HammerIcon(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.207 10.5C12.012 10.695 11.776 10.793 11.5 10.793C11.224 10.793 10.988 10.695 10.793 10.5L9.5 9.207L4.207 14.5C4.012 14.695 3.776 14.793 3.5 14.793C3.224 14.793 2.988 14.695 2.793 14.5L1.5 13.207C1.305 13.012 1.207 12.776 1.207 12.5C1.207 12.224 1.305 11.988 1.5 11.793L6.793 6.5L4.637 4.344C4.53 4.237 4.452 4.113 4.401 3.971C4.344 3.81 4.33 3.645 4.357 3.477C4.384 3.308 4.45 3.157 4.555 3.022C4.648 2.903 4.762 2.81 4.897 2.743L7.954 1.214C8.147 1.118 8.349 1.087 8.561 1.121C8.774 1.156 8.956 1.249 9.108 1.401L14.5 6.793C14.695 6.988 14.793 7.224 14.793 7.5C14.793 7.776 14.695 8.012 14.5 8.207L12.207 10.5ZM7.5 5.793C7.631 5.924 7.718 6.072 7.761 6.239C7.88 6.239 7.994 6.287 8.078 6.371L9.629 7.922C9.713 8.006 9.761 8.12 9.761 8.239C9.928 8.282 10.076 8.369 10.207 8.5L11.5 9.793L13.793 7.5L8.401 2.108L5.344 3.637L7.5 5.793ZM3.5 13.793L8.793 8.5L7.5 7.207L2.207 12.5L3.5 13.793Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "hammer" (line-round), MIT. https://gentleface.com/icons/hammer -->
<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.207 10.5C12.012 10.695 11.776 10.793 11.5 10.793C11.224 10.793 10.988 10.695 10.793 10.5L9.5 9.207L4.207 14.5C4.012 14.695 3.776 14.793 3.5 14.793C3.224 14.793 2.988 14.695 2.793 14.5L1.5 13.207C1.305 13.012 1.207 12.776 1.207 12.5C1.207 12.224 1.305 11.988 1.5 11.793L6.793 6.5L4.637 4.344C4.53 4.237 4.452 4.113 4.401 3.971C4.344 3.81 4.33 3.645 4.357 3.477C4.384 3.308 4.45 3.157 4.555 3.022C4.648 2.903 4.762 2.81 4.897 2.743L7.954 1.214C8.147 1.118 8.349 1.087 8.561 1.121C8.774 1.156 8.956 1.249 9.108 1.401L14.5 6.793C14.695 6.988 14.793 7.224 14.793 7.5C14.793 7.776 14.695 8.012 14.5 8.207L12.207 10.5ZM7.5 5.793C7.631 5.924 7.718 6.072 7.761 6.239C7.88 6.239 7.994 6.287 8.078 6.371L9.629 7.922C9.713 8.006 9.761 8.12 9.761 8.239C9.928 8.282 10.076 8.369 10.207 8.5L11.5 9.793L13.793 7.5L8.401 2.108L5.344 3.637L7.5 5.793ZM3.5 13.793L8.793 8.5L7.5 7.207L2.207 12.5L3.5 13.793Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "hammer" (line-round), MIT. https://gentleface.com/icons/hammer -->
<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.207 10.5C12.012 10.695 11.776 10.793 11.5 10.793C11.224 10.793 10.988 10.695 10.793 10.5L9.5 9.207L4.207 14.5C4.012 14.695 3.776 14.793 3.5 14.793C3.224 14.793 2.988 14.695 2.793 14.5L1.5 13.207C1.305 13.012 1.207 12.776 1.207 12.5C1.207 12.224 1.305 11.988 1.5 11.793L6.793 6.5L4.637 4.344C4.53 4.237 4.452 4.113 4.401 3.971C4.344 3.81 4.33 3.645 4.357 3.477C4.384 3.308 4.45 3.157 4.555 3.022C4.648 2.903 4.762 2.81 4.897 2.743L7.954 1.214C8.147 1.118 8.349 1.087 8.561 1.121C8.774 1.156 8.956 1.249 9.108 1.401L14.5 6.793C14.695 6.988 14.793 7.224 14.793 7.5C14.793 7.776 14.695 8.012 14.5 8.207L12.207 10.5ZM7.5 5.793C7.631 5.924 7.718 6.072 7.761 6.239C7.88 6.239 7.994 6.287 8.078 6.371L9.629 7.922C9.713 8.006 9.761 8.12 9.761 8.239C9.928 8.282 10.076 8.369 10.207 8.5L11.5 9.793L13.793 7.5L8.401 2.108L5.344 3.637L7.5 5.793ZM3.5 13.793L8.793 8.5L7.5 7.207L2.207 12.5L3.5 13.793Z" />
</svg>
```

### HTML img

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

### CSS

```css
/* Gentleface "hammer" (line-round), MIT. https://gentleface.com/icons/hammer. Takes the text color. */
.icon-hammer {
  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.207 10.5C12.012 10.695 11.776 10.793 11.5 10.793C11.224 10.793 10.988 10.695 10.793 10.5L9.5 9.207L4.207 14.5C4.012 14.695 3.776 14.793 3.5 14.793C3.224 14.793 2.988 14.695 2.793 14.5L1.5 13.207C1.305 13.012 1.207 12.776 1.207 12.5C1.207 12.224 1.305 11.988 1.5 11.793L6.793 6.5L4.637 4.344C4.53 4.237 4.452 4.113 4.401 3.971C4.344 3.81 4.33 3.645 4.357 3.477C4.384 3.308 4.45 3.157 4.555 3.022C4.648 2.903 4.762 2.81 4.897 2.743L7.954 1.214C8.147 1.118 8.349 1.087 8.561 1.121C8.774 1.156 8.956 1.249 9.108 1.401L14.5 6.793C14.695 6.988 14.793 7.224 14.793 7.5C14.793 7.776 14.695 8.012 14.5 8.207L12.207 10.5ZM7.5 5.793C7.631 5.924 7.718 6.072 7.761 6.239C7.88 6.239 7.994 6.287 8.078 6.371L9.629 7.922C9.713 8.006 9.761 8.12 9.761 8.239C9.928 8.282 10.076 8.369 10.207 8.5L11.5 9.793L13.793 7.5L8.401 2.108L5.344 3.637L7.5 5.793ZM3.5 13.793L8.793 8.5L7.5 7.207L2.207 12.5L3.5 13.793Z'/%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.207 10.5C12.012 10.695 11.776 10.793 11.5 10.793C11.224 10.793 10.988 10.695 10.793 10.5L9.5 9.207L4.207 14.5C4.012 14.695 3.776 14.793 3.5 14.793C3.224 14.793 2.988 14.695 2.793 14.5L1.5 13.207C1.305 13.012 1.207 12.776 1.207 12.5C1.207 12.224 1.305 11.988 1.5 11.793L6.793 6.5L4.637 4.344C4.53 4.237 4.452 4.113 4.401 3.971C4.344 3.81 4.33 3.645 4.357 3.477C4.384 3.308 4.45 3.157 4.555 3.022C4.648 2.903 4.762 2.81 4.897 2.743L7.954 1.214C8.147 1.118 8.349 1.087 8.561 1.121C8.774 1.156 8.956 1.249 9.108 1.401L14.5 6.793C14.695 6.988 14.793 7.224 14.793 7.5C14.793 7.776 14.695 8.012 14.5 8.207L12.207 10.5ZM7.5 5.793C7.631 5.924 7.718 6.072 7.761 6.239C7.88 6.239 7.994 6.287 8.078 6.371L9.629 7.922C9.713 8.006 9.761 8.12 9.761 8.239C9.928 8.282 10.076 8.369 10.207 8.5L11.5 9.793L13.793 7.5L8.401 2.108L5.344 3.637L7.5 5.793ZM3.5 13.793L8.793 8.5L7.5 7.207L2.207 12.5L3.5 13.793Z'/%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.207 10.5C12.012 10.695 11.776 10.793 11.5 10.793C11.224 10.793 10.988 10.695 10.793 10.5L9.5 9.207L4.207 14.5C4.012 14.695 3.776 14.793 3.5 14.793C3.224 14.793 2.988 14.695 2.793 14.5L1.5 13.207C1.305 13.012 1.207 12.776 1.207 12.5C1.207 12.224 1.305 11.988 1.5 11.793L6.793 6.5L4.637 4.344C4.53 4.237 4.452 4.113 4.401 3.971C4.344 3.81 4.33 3.645 4.357 3.477C4.384 3.308 4.45 3.157 4.555 3.022C4.648 2.903 4.762 2.81 4.897 2.743L7.954 1.214C8.147 1.118 8.349 1.087 8.561 1.121C8.774 1.156 8.956 1.249 9.108 1.401L14.5 6.793C14.695 6.988 14.793 7.224 14.793 7.5C14.793 7.776 14.695 8.012 14.5 8.207L12.207 10.5ZM7.5 5.793C7.631 5.924 7.718 6.072 7.761 6.239C7.88 6.239 7.994 6.287 8.078 6.371L9.629 7.922C9.713 8.006 9.761 8.12 9.761 8.239C9.928 8.282 10.076 8.369 10.207 8.5L11.5 9.793L13.793 7.5L8.401 2.108L5.344 3.637L7.5 5.793ZM3.5 13.793L8.793 8.5L7.5 7.207L2.207 12.5L3.5 13.793Z'/%3E%3C/svg%3E
```

### Sprite

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

### SwiftUI

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

struct HammerIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 12.207, y: 10.5))
        p.addCurve(to: CGPoint(x: 11.5, y: 10.793), control1: CGPoint(x: 12.012, y: 10.695), control2: CGPoint(x: 11.776, y: 10.793))
        p.addCurve(to: CGPoint(x: 10.793, y: 10.5), control1: CGPoint(x: 11.224, y: 10.793), control2: CGPoint(x: 10.988, y: 10.695))
        p.addLine(to: CGPoint(x: 9.5, y: 9.207))
        p.addLine(to: CGPoint(x: 4.207, y: 14.5))
        p.addCurve(to: CGPoint(x: 3.5, y: 14.793), control1: CGPoint(x: 4.012, y: 14.695), control2: CGPoint(x: 3.776, y: 14.793))
        p.addCurve(to: CGPoint(x: 2.793, y: 14.5), control1: CGPoint(x: 3.224, y: 14.793), control2: CGPoint(x: 2.988, y: 14.695))
        p.addLine(to: CGPoint(x: 1.5, y: 13.207))
        p.addCurve(to: CGPoint(x: 1.207, y: 12.5), control1: CGPoint(x: 1.305, y: 13.012), control2: CGPoint(x: 1.207, y: 12.776))
        p.addCurve(to: CGPoint(x: 1.5, y: 11.793), control1: CGPoint(x: 1.207, y: 12.224), control2: CGPoint(x: 1.305, y: 11.988))
        p.addLine(to: CGPoint(x: 6.793, y: 6.5))
        p.addLine(to: CGPoint(x: 4.637, y: 4.344))
        p.addCurve(to: CGPoint(x: 4.401, y: 3.971), control1: CGPoint(x: 4.53, y: 4.237), control2: CGPoint(x: 4.452, y: 4.113))
        p.addCurve(to: CGPoint(x: 4.357, y: 3.477), control1: CGPoint(x: 4.344, y: 3.81), control2: CGPoint(x: 4.33, y: 3.645))
        p.addCurve(to: CGPoint(x: 4.555, y: 3.022), control1: CGPoint(x: 4.384, y: 3.308), control2: CGPoint(x: 4.45, y: 3.157))
        p.addCurve(to: CGPoint(x: 4.897, y: 2.743), control1: CGPoint(x: 4.648, y: 2.903), control2: CGPoint(x: 4.762, y: 2.81))
        p.addLine(to: CGPoint(x: 7.954, y: 1.214))
        p.addCurve(to: CGPoint(x: 8.561, y: 1.121), control1: CGPoint(x: 8.147, y: 1.118), control2: CGPoint(x: 8.349, y: 1.087))
        p.addCurve(to: CGPoint(x: 9.108, y: 1.401), control1: CGPoint(x: 8.774, y: 1.156), control2: CGPoint(x: 8.956, y: 1.249))
        p.addLine(to: CGPoint(x: 14.5, y: 6.793))
        p.addCurve(to: CGPoint(x: 14.793, y: 7.5), control1: CGPoint(x: 14.695, y: 6.988), control2: CGPoint(x: 14.793, y: 7.224))
        p.addCurve(to: CGPoint(x: 14.5, y: 8.207), control1: CGPoint(x: 14.793, y: 7.776), control2: CGPoint(x: 14.695, y: 8.012))
        p.addLine(to: CGPoint(x: 12.207, y: 10.5))
        p.closeSubpath()
        p.move(to: CGPoint(x: 7.5, y: 5.793))
        p.addCurve(to: CGPoint(x: 7.761, y: 6.239), control1: CGPoint(x: 7.631, y: 5.924), control2: CGPoint(x: 7.718, y: 6.072))
        p.addCurve(to: CGPoint(x: 8.078, y: 6.371), control1: CGPoint(x: 7.88, y: 6.239), control2: CGPoint(x: 7.994, y: 6.287))
        p.addLine(to: CGPoint(x: 9.629, y: 7.922))
        p.addCurve(to: CGPoint(x: 9.761, y: 8.239), control1: CGPoint(x: 9.713, y: 8.006), control2: CGPoint(x: 9.761, y: 8.12))
        p.addCurve(to: CGPoint(x: 10.207, y: 8.5), control1: CGPoint(x: 9.928, y: 8.282), control2: CGPoint(x: 10.076, y: 8.369))
        p.addLine(to: CGPoint(x: 11.5, y: 9.793))
        p.addLine(to: CGPoint(x: 13.793, y: 7.5))
        p.addLine(to: CGPoint(x: 8.401, y: 2.108))
        p.addLine(to: CGPoint(x: 5.344, y: 3.637))
        p.addLine(to: CGPoint(x: 7.5, y: 5.793))
        p.closeSubpath()
        p.move(to: CGPoint(x: 3.5, y: 13.793))
        p.addLine(to: CGPoint(x: 8.793, y: 8.5))
        p.addLine(to: CGPoint(x: 7.5, y: 7.207))
        p.addLine(to: CGPoint(x: 2.207, y: 12.5))
        p.addLine(to: CGPoint(x: 3.5, y: 13.793))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

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

### Compose

```kotlin
// Gentleface "hammer" (line-round), MIT. https://gentleface.com/icons/hammer
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 HammerIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "hammer", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M12.207 10.5C12.012 10.695 11.776 10.793 11.5 10.793C11.224 10.793 10.988 10.695 10.793 10.5L9.5 9.207L4.207 14.5C4.012 14.695 3.776 14.793 3.5 14.793C3.224 14.793 2.988 14.695 2.793 14.5L1.5 13.207C1.305 13.012 1.207 12.776 1.207 12.5C1.207 12.224 1.305 11.988 1.5 11.793L6.793 6.5L4.637 4.344C4.53 4.237 4.452 4.113 4.401 3.971C4.344 3.81 4.33 3.645 4.357 3.477C4.384 3.308 4.45 3.157 4.555 3.022C4.648 2.903 4.762 2.81 4.897 2.743L7.954 1.214C8.147 1.118 8.349 1.087 8.561 1.121C8.774 1.156 8.956 1.249 9.108 1.401L14.5 6.793C14.695 6.988 14.793 7.224 14.793 7.5C14.793 7.776 14.695 8.012 14.5 8.207L12.207 10.5ZM7.5 5.793C7.631 5.924 7.718 6.072 7.761 6.239C7.88 6.239 7.994 6.287 8.078 6.371L9.629 7.922C9.713 8.006 9.761 8.12 9.761 8.239C9.928 8.282 10.076 8.369 10.207 8.5L11.5 9.793L13.793 7.5L8.401 2.108L5.344 3.637L7.5 5.793ZM3.5 13.793L8.793 8.5L7.5 7.207L2.207 12.5L3.5 13.793Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

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

### Android XML

```xml
<!-- res/drawable/ic_hammer.xml · Gentleface "hammer" (line-round), MIT. https://gentleface.com/icons/hammer -->
<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.207 10.5C12.012 10.695 11.776 10.793 11.5 10.793C11.224 10.793 10.988 10.695 10.793 10.5L9.5 9.207L4.207 14.5C4.012 14.695 3.776 14.793 3.5 14.793C3.224 14.793 2.988 14.695 2.793 14.5L1.5 13.207C1.305 13.012 1.207 12.776 1.207 12.5C1.207 12.224 1.305 11.988 1.5 11.793L6.793 6.5L4.637 4.344C4.53 4.237 4.452 4.113 4.401 3.971C4.344 3.81 4.33 3.645 4.357 3.477C4.384 3.308 4.45 3.157 4.555 3.022C4.648 2.903 4.762 2.81 4.897 2.743L7.954 1.214C8.147 1.118 8.349 1.087 8.561 1.121C8.774 1.156 8.956 1.249 9.108 1.401L14.5 6.793C14.695 6.988 14.793 7.224 14.793 7.5C14.793 7.776 14.695 8.012 14.5 8.207L12.207 10.5ZM7.5 5.793C7.631 5.924 7.718 6.072 7.761 6.239C7.88 6.239 7.994 6.287 8.078 6.371L9.629 7.922C9.713 8.006 9.761 8.12 9.761 8.239C9.928 8.282 10.076 8.369 10.207 8.5L11.5 9.793L13.793 7.5L8.401 2.108L5.344 3.637L7.5 5.793ZM3.5 13.793L8.793 8.5L7.5 7.207L2.207 12.5L3.5 13.793Z"/>
</vector>
```

### Flutter

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

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

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

class _HammerIconPainter extends CustomPainter {
  _HammerIconPainter(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.207, 10.5)
      ..cubicTo(12.012, 10.695, 11.776, 10.793, 11.5, 10.793)
      ..cubicTo(11.224, 10.793, 10.988, 10.695, 10.793, 10.5)
      ..lineTo(9.5, 9.207)
      ..lineTo(4.207, 14.5)
      ..cubicTo(4.012, 14.695, 3.776, 14.793, 3.5, 14.793)
      ..cubicTo(3.224, 14.793, 2.988, 14.695, 2.793, 14.5)
      ..lineTo(1.5, 13.207)
      ..cubicTo(1.305, 13.012, 1.207, 12.776, 1.207, 12.5)
      ..cubicTo(1.207, 12.224, 1.305, 11.988, 1.5, 11.793)
      ..lineTo(6.793, 6.5)
      ..lineTo(4.637, 4.344)
      ..cubicTo(4.53, 4.237, 4.452, 4.113, 4.401, 3.971)
      ..cubicTo(4.344, 3.81, 4.33, 3.645, 4.357, 3.477)
      ..cubicTo(4.384, 3.308, 4.45, 3.157, 4.555, 3.022)
      ..cubicTo(4.648, 2.903, 4.762, 2.81, 4.897, 2.743)
      ..lineTo(7.954, 1.214)
      ..cubicTo(8.147, 1.118, 8.349, 1.087, 8.561, 1.121)
      ..cubicTo(8.774, 1.156, 8.956, 1.249, 9.108, 1.401)
      ..lineTo(14.5, 6.793)
      ..cubicTo(14.695, 6.988, 14.793, 7.224, 14.793, 7.5)
      ..cubicTo(14.793, 7.776, 14.695, 8.012, 14.5, 8.207)
      ..lineTo(12.207, 10.5)
      ..close()
      ..moveTo(7.5, 5.793)
      ..cubicTo(7.631, 5.924, 7.718, 6.072, 7.761, 6.239)
      ..cubicTo(7.88, 6.239, 7.994, 6.287, 8.078, 6.371)
      ..lineTo(9.629, 7.922)
      ..cubicTo(9.713, 8.006, 9.761, 8.12, 9.761, 8.239)
      ..cubicTo(9.928, 8.282, 10.076, 8.369, 10.207, 8.5)
      ..lineTo(11.5, 9.793)
      ..lineTo(13.793, 7.5)
      ..lineTo(8.401, 2.108)
      ..lineTo(5.344, 3.637)
      ..lineTo(7.5, 5.793)
      ..close()
      ..moveTo(3.5, 13.793)
      ..lineTo(8.793, 8.5)
      ..lineTo(7.5, 7.207)
      ..lineTo(2.207, 12.5)
      ..lineTo(3.5, 13.793)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

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