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