File Type Hardhat
The Hardhat icon represents a development environment for Ethereum smart contracts.
Exports at 24 × 24 px
Code
File Type Hardhat in your framework
In any framework. Customize it above, and the code follows.
export const FileTypeHardhatIcon = (props: React.SVGProps<SVGSVGElement>) => (
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 32 32" {...props}>
<path fill="#f0d50c" d="M29.973 22.541s-4.257-.631-6.506-.812c-2.16-.174-4.72-.274-7.466-.274s-5.306.1-7.465.274c-2.25.183-6.506 1.058-6.506 1.058v1.1c0 .978 6.256 1.772 13.972 1.772s13.972-.794 13.972-1.772ZM11.705 7.952A12.81 12.81 0 0 0 3.2 20.016v1.814a31 31 0 0 1 5.546-.8q-.019-.526-.02-1.052a23.5 23.5 0 0 1 2.979-12.026"/><path fill="#fff04d" d="M28.806 20.016a12.75 12.75 0 0 0-2.923-8.142a26.6 26.6 0 0 1 1.212 8.1q0 .75-.038 1.482a16 16 0 0 1 1.729.367Z"/><path fill="#ffea00" d="M28.806 20.016a12.75 12.75 0 0 0-2.923-8.142a26.6 26.6 0 0 1 1.212 8.1q0 .75-.038 1.482a16 16 0 0 1 1.729.367Z"/><path fill="#fff04d" d="M25.883 11.873a12.82 12.82 0 0 0-14.177-3.921a23.45 23.45 0 0 0-2.981 12.023q0 .53.019 1.052a95 95 0 0 1 6.477-.255H16a75 75 0 0 1 11.055.689q.037-.733.039-1.482a26.6 26.6 0 0 0-1.211-8.106"/><path fill="#fff04d" d="m21.152 12.72l-.811-5.072a.98.98 0 0 0-.687-.788a12.86 12.86 0 0 0-7.243 0a.98.98 0 0 0-.686.788l-.812 5.072M16 20.664h-.782c-7.353.051-13.191.824-13.191 1.769V23.8a.34.34 0 0 0 .048.231a3.3 3.3 0 0 1 1.259-.578a25 25 0 0 1 3.533-.591a2.37 2.37 0 0 1 1.853.6a5 5 0 0 0 3.367 1.308h7.822a5 5 0 0 0 3.367-1.308a2.36 2.36 0 0 1 1.854-.606a25 25 0 0 1 3.532.592a2.95 2.95 0 0 1 1.194.522l.061.056a.34.34 0 0 0 .049-.232v-1.37c0-.975-6.251-1.768-13.967-1.768Z"/><path fill="#6e6f70" d="M18.945 16.6L16 18.409v2.356Z"/><path fill="#0a0a0a" d="M16 20.765v-2.356L13.055 16.6Zm-2.947-5.245L16 17.223v-6.47Z"/><path fill="#6e6f70" d="M18.945 15.519L16 10.753v6.469l2.947-1.7Z"/>
</svg>
);VSCode Icons
More like it
Icons that share its tags, in the same style.
Search VSCode Icons
Skip the copy and paste. With Pro, your AI agent finds and installs any VSCode Icons icon from a prompt.
Get ProTags
Browse by tag
File Type Hardhat is tagged development, blockchain, devops and 2 more. Related tags follow; each opens its icons from every library.
Pricing
VSCode Icons MCP, with Pro
Ask for File Type Hardhat or any of 1,426 VSCode Icons 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 File Type Hardhat icon means and where it's used, then how to install, style, label and license it.
The Hardhat icon represents a development environment for Ethereum smart contracts. Hardhat is a widely-used tool that helps developers write, test, and deploy smart contracts on the Ethereum blockchain. It was created by the Hardhat team and is now maintained by the Ethereum community.
Hardhat is commonly used in blockchain development, particularly in Ethereum and smart contract development. It is used to develop, test, and deploy smart contracts, making it easier to manage complex blockchain applications. In software development, Hardhat is used to write efficient, reliable, and scalable smart contract code.
From a UX perspective, the Hardhat icon communicates a sense of efficiency and reliability. It helps users understand that a development environment is being used, and that the smart contract code is efficient and reliable. In interfaces, the Hardhat icon might be used to represent a 'code' or 'development' action.
File Type Hardhat is one of 1,426 icons in VSCode Icons, made by Roberto Huertas and released under MIT. It is drawn on a 32 × 32 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 FileTypeHardhatIcon to components/icons/vscode-icons-file-type-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 FileTypeHardhatIcon 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 File Type Hardhat icon, or any of 1,426 VSCode Icons 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 32 × 32 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="File Type Hardhat", so screen readers say what it does.
Yes. FileTypeHardhatIcon passes every SVG prop to the svg element, so <FileTypeHardhatIcon 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 VSCode Icons, Roberto Huertas and the license.
Yes. Copying and downloading it is free, and the shadcn CLI install only needs a free account.
Its tags are development, blockchain, devops, ethereum and smart contracts. Each tag page lists the icons that carry it from every library, which is the quickest way to find a match for File Type Hardhat in another set.
VSCode Icons draws many icons in several styles: Light next to the default. Open the library and pick a style above the grid to see File Type Hardhat's siblings in it.
4.9 out of 5 from 150+ developers
Install File Type Hardhat from a prompt
MCP, 6,000+ blocks and 14 premium templates in every Pro plan. The icons stay free.
Get Pro