ICONYZ
English
Hammer 2 icon from Lineicons

Hammer 2 icon

lineicons:hammer-2

The Hammer 2 icon (lineicons:hammer-2) is a free SVG icon from the Lineicons set. It is drawn on a 25 × 24 grid. Lineicons 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
Lineicons
Author
Lineicons
License
MIT
Size
25 × 24
Category
regular
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="25" height="24" viewBox="0 0 25 24"><path fill="currentColor" d="m13.374 4l-.098-.593a.787.787 0 0 0-1.553 0L11.625 4h-4.96a.75.75 0 0 0-.75.75v4.183c0 .415.336.75.75.75h3.71l-.538 9.945A2.25 2.25 0 0 0 12.082 22h.834a2.25 2.25 0 0 0 2.246-2.372l-.538-9.945h3.71a.75.75 0 0 0 .75-.75V8.75A4.75 4.75 0 0 0 14.336 4zm-.252 5.683l.543 10.026a.75.75 0 0 1-.75.79h-.833a.75.75 0 0 1-.748-.79l.542-10.026zm4.414-1.5H7.414V5.5h6.921a3.25 3.25 0 0 1 3.2 2.683"/></svg>

How to use the Hammer 2 icon

React

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

<Icon icon="lineicons:hammer-2" width="24" />

Vue

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

<template>
  <Icon icon="lineicons:hammer-2" width="24" />
</template>

Svelte

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

<Icon icon="lineicons:hammer-2" width="24" />

Tailwind CSS

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

UnoCSS

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

Web component

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

<iconify-icon icon="lineicons:hammer-2"></iconify-icon>

HTML image

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

Related icons in Lineicons

Hammer 2 icon FAQ

Is the Hammer 2 icon free for commercial use?

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

How do I use the Hammer 2 icon in React?

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

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

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

Browse all Lineicons →