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