Skip to content

hard-hat

helmet • construction • safety • savety

Created:

v0.11.0

Last changed:

v0.457.0

Contributors:

Andretoericfennis
js
import { createIcons, icons } from 'lucide';

createIcons({ icons });

document.body.append('<i data-lucide="hard-hat"></i>');  
tsx
import { HardHat } from 'lucide-react';

const App = () => {
  return (
    <HardHat />
  );
};

export default App;
vue
<script setup>
import { HardHat } from 'lucide-vue-next';
</script>

<template>
  <HardHat />
</template>
svelte
<script>
import { HardHat } from 'lucide-svelte';
</script>

<HardHat />
tsx
import { HardHat } from 'lucide-preact';

const App = () => {
  return (
    <HardHat />
  );
};

export default App;
tsx
import { HardHat } from 'lucide-solid';

const App = () => {
  return (
    <HardHat />
  );
};

export default App;
tsx
// app.module.ts
import { LucideAngularModule, HardHat } from 'lucide-angular';

@NgModule({
  imports: [
    LucideAngularModule.pick({ HardHat })
  ],
})

// app.component.html
<lucide-icon name="hard-hat"></lucide-icon>
html
<style>
@import ('~lucide-static/font/Lucide.css');
</style>

<div class="icon-hard-hat"></div>

See this icon in action

Bug
Feature
Hard
112
8
11