ICONYZ
English
Hardhat icon from Catppuccin Icons

Hardhat icon

catppuccin:hardhat

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

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="#eed49f" stroke-linecap="round" stroke-linejoin="round" d="M.5 12.741a.75.73 0 0 0 .75.73h13.5a.75.73 0 0 0 .75-.73v-1.459a.75.73 0 0 0-.75-.73H1.25a.75.73 0 0 0-.75.73Zm6-5.835V3.259a.75.73 0 0 1 .75-.73h1.5a.75.73 0 0 1 .75.73v3.647M2 10.553V8.365a4.5 4.376 0 0 1 4.5-4.377m3 0A4.5 4.376 0 0 1 14 8.365v2.188"/></svg>

How to use the Hardhat icon

React

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

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

Vue

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

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

Svelte

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

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

Tailwind CSS

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

UnoCSS

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

Web component

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

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

HTML image

<img src="https://iconyz.com/api/public/svg/catppuccin/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. Catppuccin 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="catppuccin: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/catppuccin/hardhat.svg" alt="Hardhat icon">, or paste the SVG code inline to style it with CSS.

Browse all Catppuccin Icons →