Pencil icon
Download the Pencil icon as free SVG or PNG. Compare outline and filled styles. Copy React, Vue or Svelte code.
- edit
- write
- draw
- modify
- pen
- compose
- update
- change
- rename
- sketch
Style
Size
Stroke
Filled icons have no stroke
Color
- Category
- general
- Styles
- Outline, filled
- Component
- IconPencil
- License
- MIT · Paweł Kuna
Code
Copy it the way you use it
pencil.svg
<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"
>
<path d="M4 20h4l10.5 -10.5a2.828 2.828 0 1 0 -4 -4l-10.5 10.5v4" />
<path d="M13.5 6.5l4 4" />
</svg> Use the Pencil icon
For a decorative icon beside text, add aria-hidden="true" to the SVG. For an icon-only control, put its accessible name on the button or link.
React example
import { IconPencil } from '@tabler/icons-react';
<IconPencil size={24} stroke={2} />Read the React guideVue example
import { IconPencil } from '@tabler/icons-vue';
<IconPencil :size="24" :stroke="2" />Read the Vue guideSvelte 5 example
import { IconPencil } from '@tabler/icons-svelte-runes';
<IconPencil size={24} stroke={2} />Read the Svelte guideCompare variants and alternatives
Related