Hardhat
The Hardhat icon represents Hardhat, a development environment for Ethereum smart contracts.
Exports at 24 × 24 px
Code
Hardhat in your framework
In any framework. Customize it above, and the code follows.
export const HardhatIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 128 128" {...props}>
<defs><linearGradient id="iconify-v8hD9dQI" x1="10.561" x2="10.561" y1="30.514" y2="6.186" gradientTransform="translate(-2.326 11.158) scale(2.56617)" gradientUnits="userSpaceOnUse"><stop stopColor="#EDCF00" /><stop offset=".33" stopColor="#F0D500" /><stop offset=".77" stopColor="#F9E500" /><stop offset="1" stopColor="#FFF100" /></linearGradient><linearGradient id="iconify-Ne2SJe1G" x1="46.089" x2="46.089" y1="30.692" y2="13.092" gradientTransform="translate(-2.326 11.158) scale(2.56617)" gradientUnits="userSpaceOnUse"><stop stopColor="#EDCF00" /><stop offset=".59" stopColor="#F7E100" /><stop offset="1" stopColor="#FFF100" /></linearGradient><radialGradient id="iconify-DN9EGd8q" cx="0" cy="0" r="1" gradientTransform="matrix(47.57621 0 0 47.25236 7.172 132.114)" gradientUnits="userSpaceOnUse"><stop stopColor="#FFF100" /><stop offset=".23" stopColor="#F9E500" /><stop offset=".67" stopColor="#F0D500" /><stop offset="1" stopColor="#EDCF00" /></radialGradient></defs><path fill="#fff100" d="M127.99 98.893V92.68c0-1.155-1.943-2.256-5.43-3.249l.084-7.732a57.71 57.71 0 0 0-10.588-33.296A58.573 58.573 0 0 0 84.121 27.13l-.25-1.55a4.419 4.419 0 0 0-1.046-2.238a4.483 4.483 0 0 0-2.092-1.337a59.402 59.402 0 0 0-33.167 0c-.814.239-1.54.7-2.1 1.335a4.398 4.398 0 0 0-1.051 2.237l-.24 1.445a58.588 58.588 0 0 0-28.13 21.256A57.734 57.734 0 0 0 5.374 81.697v7.765c-3.439.99-5.356 2.079-5.356 3.226V98.9a1.514 1.514 0 0 0 .224 1.047a15.017 15.017 0 0 1 5.766-2.604a113.37 113.37 0 0 1 16.174-2.684a10.906 10.906 0 0 1 8.487 2.712a22.967 22.967 0 0 0 15.42 5.933h35.834a22.95 22.95 0 0 0 15.417-5.938a10.914 10.914 0 0 1 8.489-2.743A114.1 114.1 0 0 1 122 97.297a13.498 13.498 0 0 1 5.466 2.373c.09.09.2.17.277.254a1.54 1.54 0 0 0 .246-1.031z" /><path fill="url(#iconify-v8hD9dQI)" d="M30.752 85.818a136.171 136.171 0 0 1-.077-4.293c.018-21.597 5.112-40.966 13.503-54.493a58.588 58.588 0 0 0-28.13 21.253A57.734 57.734 0 0 0 5.373 81.697v7.765a143.449 143.449 0 0 1 25.38-3.644Z" /><path fill="url(#iconify-Ne2SJe1G)" d="M122.639 81.697a57.546 57.546 0 0 0-13.383-36.943a119.455 119.455 0 0 1 5.548 36.76c0 2.105-.056 4.183-.153 6.25a73.11 73.11 0 0 1 7.888 1.662l.097-7.73z" /><path fill="url(#iconify-DN9EGd8q)" d="M122 97.32a113.49 113.49 0 0 0-16.175-2.685a10.911 10.911 0 0 0-8.488 2.726a22.95 22.95 0 0 1-15.42 5.935h-35.82a22.962 22.962 0 0 1-15.411-5.933a10.904 10.904 0 0 0-8.49-2.748a113.787 113.787 0 0 0-16.174 2.682A15.215 15.215 0 0 0 .26 99.9c2.72 4.127 30.234 8.456 63.758 8.456c33.527 0 61.029-4.345 63.754-8.453c-.095-.082-.2-.162-.28-.252A14.019 14.019 0 0 0 122 97.32Z" /><path fill="#0a0a0a" d="M64 37.882L50.28 61.034L64 69.477V37.88Z" /><path fill="#4b4d4d" d="M64.005 37.89v31.579l13.716-8.427zm0 36.165v11.011c.256-.364 13.716-19.451 13.716-19.46l-13.716 8.451z" /><path fill="#0a0a0a" d="m64.005 74.06l-13.72-8.438l13.72 19.452v-11.02Z" />
</svg>
);Other libraries
Hardhat in 1 more libraries
Each library draws it its own way. Open one to compare.
Devicon Original
More like it
Icons that share its tags, in the same style.
Search Devicon Original
Skip the copy and paste. With Pro, your AI agent finds and installs any Devicon Original icon from a prompt.
Get ProTags
Browse by tag
Hardhat is tagged development, software, blockchain and 2 more. Related tags follow; each opens its icons from every library.
Pricing
Devicon Original MCP, with Pro
Ask for Hardhat or any of 659 Devicon Original icons and your agent installs it. The MCP comes with every Pro plan, with 6,000+ blocks and 14 premium templates. The icons stay free.
4.9/5 out of 5 · 150+ reviewsfrom 150+ founders and developers.
- Secure checkout via Stripe
- Code lives in your repo
- Keep what you've shipped if you cancel
- License terms
FAQ
Frequently asked questions
What the Hardhat icon means and where it's used, then how to install, style, label and license it.
The Hardhat icon represents Hardhat, a development environment for Ethereum smart contracts. Hardhat provides a comprehensive set of tools for building, testing, and deploying smart contracts, making it a crucial part of the Ethereum development ecosystem. The icon signifies the software's importance in Ethereum development.
In real-world applications, the Hardhat icon appears in various Ethereum development environments, such as wallets, decentralized applications (dApps), and blockchain explorers.
From a UX perspective, the Hardhat icon communicates smart contract development capabilities, helping users understand the software's functionality and navigate interfaces related to Ethereum development.
Hardhat is one of 659 icons in Devicon Original, made by konpa and released under MIT. It is drawn on a 128 × 128 grid.
Sign in (it's free), then open Get icon, Install with shadcn CLI, and pick your package manager to copy the command. It adds HardhatIcon to components/icons/devicon-original-hardhat.tsx: one file, a size prop (24 by default) and every SVG prop, with no icon package.
Copy it as React (from Get icon, or the Code section): a typed HardhatIcon component you paste into your project, with no package to install. Only the icons you import reach your bundle. It works in Next.js and any React app.
Open Get icon, then Copy as code, and pick Vue, Svelte, Angular, Solid or Preact; the Code section shows each one too. Every version is one self-contained component with the SVG inside, and SVG and data URL copies are there for plain HTML and CSS.
With Pro, the shadcn.io MCP server lets Claude Code, Cursor or any MCP client find the Hardhat icon, or any of 659 Devicon Original icons, and install it from a prompt.
It's multicolor, so it keeps its own colors.
Set width and height on the component, or a class like size-6. It's drawn on a 128 × 128 grid, so it stays sharp at any size. Customize also sets the size it exports at, its padding and rotation.
Yes. It keeps its own colors in light and dark mode, so check it against both backgrounds. The icon is a vector, so it needs no separate dark asset.
Next to a visible label it's decoration: add aria-hidden="true" so screen readers skip it. Standing alone, as in an icon button, give the button a name instead, like aria-label="Hardhat", so screen readers say what it does.
Yes. HardhatIcon passes every SVG prop to the svg element, so <HardhatIcon aria-hidden="true" /> works, and so do role="img" with aria-label, or a title child, when it carries meaning on its own.
Yes. Open Get icon, then Download file: SVG for code or design tools like Figma; PNG, WebP or JPEG at 512px; or an ICO favicon with 16, 32 and 48px inside. Each one uses what you set in Customize.
Yes. MIT allows commercial use; keep the license notice when you ship the icons' source files. The full terms are in the license, linked on this page.
No visible credit is required: MIT only asks that you keep the license notice if you ship the icons' source files. Icons installed with the shadcn CLI already start with a comment naming Devicon Original, konpa and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
1 other library draws an icon called Hardhat. The Other libraries section on this page shows each one, so you can compare them and open the one that fits your style.
Its tags are development, software, blockchain, smart and ethereum. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for Hardhat in another set.
4.9 out of 5 from 150+ developers
Install Hardhat from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro