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