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