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