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