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