Skip to content

pencil

rubber • edit • create • draw • sketch • draft • writer • writing • stationery • artist

Created:

v0.14.0

Last changed:

v0.392.0

Contributors:

ericfenniswojtekmajmittalyashudanielbayleykarsa-mistmere
js
import { createIcons, icons } from 'lucide';

createIcons({ icons });

document.body.append('<i data-lucide="pencil"></i>');  
tsx
import { Pencil } from 'lucide-react';

const App = () => {
  return (
    <Pencil />
  );
};

export default App;
vue
<script setup>
import { Pencil } from 'lucide-vue-next';
</script>

<template>
  <Pencil />
</template>
svelte
<script>
import { Pencil } from 'lucide-svelte';
</script>

<Pencil />
tsx
import { Pencil } from 'lucide-preact';

const App = () => {
  return (
    <Pencil />
  );
};

export default App;
tsx
import { Pencil } from 'lucide-solid';

const App = () => {
  return (
    <Pencil />
  );
};

export default App;
tsx
// app.module.ts
import { LucideAngularModule, Pencil } from 'lucide-angular';

@NgModule({
  imports: [
    LucideAngularModule.pick({ Pencil })
  ],
})

// app.component.html
<lucide-icon name="pencil"></lucide-icon>
html
<style>
@import ('~lucide-static/font/Lucide.css');
</style>

<div class="icon-pencil"></div>

See this icon in action

Bug
Feature
Pencil
112
8
11