Hammer icon
jam:hammer
The Hammer icon (jam:hammer) is a free SVG icon from the Jam Icons set by Michael Amprimo. It is drawn on a 24 × 24 grid. Jam 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
- Jam Icons
- Author
- Michael Amprimo
- License
- MIT
- Size
- 24 × 24
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="m2.536 8.9l2.828 2.828l6.364-6.364l-2.829-2.828zm12.727 5.656l-4.95-4.95l-.706.708l4.95 4.95zm1.415 1.415l-.707.707l1.767 1.767a.5.5 0 0 0 .707-.707zM6.01 2.596L7.485 1.12a2 2 0 0 1 2.829 0l2.828 2.829a2 2 0 0 1 0 2.828l-1.414 1.414l8.132 8.132a2.5 2.5 0 1 1-3.536 3.536l-8.132-8.132l-1.414 1.414a2 2 0 0 1-2.828 0l-2.83-2.827a2 2 0 0 1 0-2.829l1.475-1.474a1.5 1.5 0 0 1 .293-1.708L4.303 2.89a1.5 1.5 0 0 1 1.708-.293z"/></svg>How to use the Hammer icon
React
import { Icon } from "@iconify/react";
<Icon icon="jam:hammer" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="jam:hammer" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="jam:hammer" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[jam--hammer]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/jam -->
<div class="i-jam:hammer"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="jam:hammer"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/jam/hammer.svg" alt="Hammer icon" width="24" height="24">Related icons in Jam Icons
Hammer icon in other icon sets
Hammer icon FAQ
Is the Hammer icon free for commercial use?
Yes. Jam 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="jam: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/jam/hammer.svg" alt="Hammer icon">, or paste the SVG code inline to style it with CSS.