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