html
<i data-lucide="hammer"></i>
tsx
import { Hammer } from 'lucide-react';
const App = () => {
return (
<Hammer />
);
};
export default App;
vue
<script setup>
import { Hammer } from 'lucide-vue-next';
</script>
<template>
<Hammer />
</template>
svelte
<script>
import { Hammer } from 'lucide-svelte';
</script>
<Hammer />
tsx
import { Hammer } from 'lucide-preact';
const App = () => {
return (
<Hammer />
);
};
export default App;
tsx
import { Hammer } from 'lucide-solid';
const App = () => {
return (
<Hammer />
);
};
export default App;
tsx
// app.module.ts
import { LucideAngularModule, Hammer } from 'lucide-angular';
@NgModule({
imports: [
LucideAngularModule.pick({ Hammer })
],
})
// app.component.html
<lucide-icon name="hammer"></lucide-icon>
html
<style>
@import ('~lucide-static/font/Lucide.css');
</style>
<div class="icon-hammer"></div>