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