A safety helmet with a ridge and a brim, for construction, site work and work in progress. On a 24×24 grid in stroke, two-tone, duotone and fill, free under MIT.
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
<path d="M4 17C2.8954 17 2 17.8954 2 19C2 20.1046 2.8954 21 4 21H20C21.1046 21 22 20.1046 22 19C22 17.8954 21.1046 17 20 17M4 17V13C4 9.2723 6.54953 6.14011 10 5.25203M4 17H10M20 17V13C20 9.2723 17.4505 6.14011 14 5.25203M20 17H14M10 17H14M10 17V5.25203M14 17V5.25203M10 5.25203V5C10 3.89543 10.8954 3 12 3C13.1046 3 14 3.89543 14 5V5.25203" fill="none"/>
</svg>Also called
What someone searching for this drawing would have typed instead. These are the words the browser's search matches on.
- helmet
- construction
- safety
- worker
- engineer
- building site
Related icons
The rest of the hard family first, then the Tools shelf.
FAQ
Answered from hard-hat's own facts: its shelf, the styles it was drawn in, its siblings and its dates.
- What is the hard-hat icon for?
- A safety helmet with a ridge and a brim, for construction, site work and work in progress. It is filed under Tools in Keyline Icons, drawn on the same 24×24 grid as the rest of the set. People look for it as helmet, construction, safety, worker, engineer and building site, and the browser's search matches all of those.
- What styles does the hard-hat icon come in?
- All four: stroke, two-tone, duotone and fill. They are drawn from the same geometry, so swapping style never moves anything.
- Is there a square or circle version of hard-hat?
- No. hard-hat is drawn as a bare glyph, and the set has no boxed variant of it.
- What other icons go with hard-hat?
- hard-drive, broom, drafting-compass, flashlight, flashlight-off and gripper, and 9 more, all shown below. The hard family is listed first, then the rest of the Tools shelf, so the row under this one is the useful one even where a shelf runs long.
- How do I import hard-hat in React?
- <HardHat /> is the component, and the style decides the module: stroke from "@keyline-icons/react", two-tone from "@keyline-icons/react/two-tone", duotone from "@keyline-icons/react/duotone" and fill from "@keyline-icons/react/fill". It takes the usual SVG props plus a size, so <HardHat size={16} /> and className="size-4" both work, and there is no provider or theme to set up.
- Where is the hard-hat SVG?
- icons/stroke/hard-hat.svg, icons/two-tone/hard-hat.svg, icons/duotone/hard-hat.svg and icons/fill/hard-hat.svg in the repository, normalised: no wrapper, no ids and no classes to strip out. The tabs above hand you the same drawing as SVG or JSX without the download, and neither needs an install.
- When was hard-hat added to the set?
- Added 19 Nov 2026. It ships in v2.8.0, so an install at that version or later has it.
Questions about the set rather than about this drawing are answered where they belong. The home page covers what the set is, how the three styles differ, why some icons come boxed and where the Figma file is; installing the set in a shadcn/ui project covers the React package, the CLI and using an icon without React. The MIT licence is stated in the footer of every page.