ICONYZ
English
Hammer icon from Glyphs Poly

Hammer icon

glyphs-poly:hammer

The Hammer icon (glyphs-poly:hammer) is a free SVG icon from the Glyphs Poly set by Goran Spasojevic. It is drawn on a 80 × 80 grid. Glyphs Poly icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.

Icon set
Glyphs Poly
Author
Goran Spasojevic
License
MIT
Size
80 × 80
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="80" height="80" viewBox="0 0 80 80"><g fill="none"><path fill="#f2c94c" stroke="#f2c94c" stroke-linecap="round" stroke-linejoin="round" stroke-width="4" d="M36 20h8l3.43 48.02C47.738 72.332 44.323 76 40 76s-7.738-3.668-7.43-7.98z"/><path fill="#f2994a" fill-rule="evenodd" d="M20 20c0-8.837 7.163-16 16-16h12v2h6V4h6v16h-6v-2h-6v2z" clip-rule="evenodd"/><path fill="#f2994a" d="M20 20h-2a2 2 0 0 0 2 2zM48 4h2a2 2 0 0 0-2-2zm0 2h-2a2 2 0 0 0 2 2zm6 0v2a2 2 0 0 0 2-2zm0-2V2a2 2 0 0 0-2 2zm6 0h2a2 2 0 0 0-2-2zm0 16v2a2 2 0 0 0 2-2zm-6 0h-2a2 2 0 0 0 2 2zm0-2h2a2 2 0 0 0-2-2zm-6 0v-2a2 2 0 0 0-2 2zm0 2v2a2 2 0 0 0 2-2zM36 2c-9.941 0-18 8.059-18 18h4c0-7.732 6.268-14 14-14zm12 0H36v4h12zm2 4V4h-4v2zm-2 2h6V4h-6zm4-4v2h4V4zm8-2h-6v4h6zm2 18V4h-4v16zm-8 2h6v-4h-6zm-2-4v2h4v-2zm2-2h-6v4h6zm-4 4v-2h-4v2zm-30 2h28v-4H20z"/></g></svg>

How to use the Hammer icon

React

import { Icon } from "@iconify/react";

<Icon icon="glyphs-poly:hammer" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="glyphs-poly:hammer" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="glyphs-poly:hammer" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[glyphs-poly--hammer]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/glyphs-poly -->
<div class="i-glyphs-poly:hammer"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="glyphs-poly:hammer"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/glyphs-poly/hammer.svg" alt="Hammer icon" width="24" height="24">

Hammer icon in other icon sets

Hammer icon FAQ

Is the Hammer icon free for commercial use?

Yes. Glyphs Poly icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Hammer icon in React?

Install @iconify/react and render <Icon icon="glyphs-poly:hammer" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Hammer icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/glyphs-poly/hammer.svg" alt="Hammer icon">, or paste the SVG code inline to style it with CSS.

Browse all Glyphs Poly icons →