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