ICONYZ
English
Hard Hat 48 icon from Energy Icons

Hard Hat 48 icon

energy-icons:hard-hat-48

The Hard Hat 48 icon (energy-icons:hard-hat-48) is a free SVG icon from the Energy Icons set by Sam Passmore. It is drawn on a 48 × 48 grid. Energy 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
Energy Icons
Author
Sam Passmore
License
MIT
Size
48 × 48
Tags
hardhat
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="48" height="48" viewBox="0 0 48 48"><path fill="currentColor" d="M24 12c9.697 0 17 8.604 17 20h-2c0-10.604-6.697-18-15-18S9 21.396 9 32H7c0-11.396 7.303-20 17-20"/><path fill="currentColor" d="M44 31a1 1 0 1 1 0 2H4a1 1 0 1 1 0-2zM28 7a1 1 0 0 1 1 1v5.552h-2V9h-6v4.552h-2V8a1 1 0 0 1 1-1z"/></svg>

How to use the Hard Hat 48 icon

React

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

<Icon icon="energy-icons:hard-hat-48" width="24" />

Vue

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

<template>
  <Icon icon="energy-icons:hard-hat-48" width="24" />
</template>

Svelte

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

<Icon icon="energy-icons:hard-hat-48" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[energy-icons--hard-hat-48]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/energy-icons -->
<div class="i-energy-icons:hard-hat-48"></div>

Web component

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

<iconify-icon icon="energy-icons:hard-hat-48"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/energy-icons/hard-hat-48.svg" alt="Hard Hat 48 icon" width="24" height="24">

Related icons in Energy Icons

Hard Hat 48 icon FAQ

Is the Hard Hat 48 icon free for commercial use?

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

How do I use the Hard Hat 48 icon in React?

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

How do I add the Hard Hat 48 icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/energy-icons/hard-hat-48.svg" alt="Hard Hat 48 icon">, or paste the SVG code inline to style it with CSS.

Browse all Energy Icons →