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