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