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