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