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