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