# pencil

The [pencil](https://lucide.dev/icons/pencil) icon is drawn by the [Lucide](https://lucide.dev) contributors and published under the [ISC license](https://lucide.dev/license). `@sdxc/icons` renders it as `PencilIcon`, from Lucide 1.61.0. If Lucide serves your app, [sponsor it](https://lucide.dev/sponsor).

Tags: rubber, edit, create, draw, sketch, draft, writer, writing, stationery, artist.

## By component

```tsx
import { PencilIcon } from "@sdxc/icons";

<PencilIcon aria-hidden="true" />
```

## By name

```tsx
import { Icon } from "@sdxc/icons";

<Icon name="pencil" aria-hidden="true" />
```

## SVG

```html
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="lucide lucide-pencil" aria-hidden="true">
	<path d="M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z" />
	<path d="m15 5 4 4" />
</svg>
```
