ICONYZ
English
Hardhat icon from theSVG

Hardhat icon

thesvg:hardhat

The Hardhat icon (thesvg:hardhat) is a free SVG icon from the theSVG set by thesvg.org. It is drawn on a 128 × 128 grid. theSVG 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
theSVG
Author
thesvg.org
License
MIT
Size
128 × 128
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="128" height="128" viewBox="0 0 128 128"><path fill="currentColor" d="M64.15 19.643a59.4 59.4 0 0 0-16.584 2.363c-.813.239-1.54.7-2.1 1.334a4.4 4.4 0 0 0-1.052 2.238l-.238 1.443a58.6 58.6 0 0 0-28.131 21.256a57.74 57.74 0 0 0-10.672 33.42v7.766c-3.439.99-5.355 2.077-5.355 3.225V98.9c-.056.365.023.737.222 1.047c.012-.009.027-.013.04-.021c2.815 4.119 30.282 8.431 63.738 8.431c33.526 0 61.028-4.344 63.753-8.453l-.015-.013c.187-.298.275-.648.234-.998V92.68c0-1.155-1.944-2.255-5.431-3.248l.086-7.733a57.7 57.7 0 0 0-10.588-33.295A58.6 58.6 0 0 0 84.12 27.13l-.25-1.549a4.4 4.4 0 0 0-1.047-2.238a4.5 4.5 0 0 0-2.09-1.336a59.4 59.4 0 0 0-16.584-2.363zM64 37.883v31.594l-13.719-8.444zm.004.008L77.72 61.04l-13.717 8.428V37.89zM77.72 65.607c0 .008-13.46 19.095-13.717 19.46v.007L50.285 65.623l13.719 8.438v-.004z"/></svg>

How to use the Hardhat icon

React

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

<Icon icon="thesvg:hardhat" width="24" />

Vue

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

<template>
  <Icon icon="thesvg:hardhat" width="24" />
</template>

Svelte

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

<Icon icon="thesvg:hardhat" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[thesvg--hardhat]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/thesvg -->
<div class="i-thesvg:hardhat"></div>

Web component

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

<iconify-icon icon="thesvg:hardhat"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/thesvg/hardhat.svg" alt="Hardhat icon" width="24" height="24">

Hardhat icon in other icon sets

Hardhat icon FAQ

Is the Hardhat icon free for commercial use?

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

How do I use the Hardhat icon in React?

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

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

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

Browse all theSVG icons →