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