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