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