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