The Tabler pencil icon depicts a writing utensil and is commonly used in user interfaces to represent actions like editing, writing, or drafting content.
Common uses
- Edit button
- Create new document
- Open note editor
Use it in React
Install
npm i @tabler/icons-reactImport & render
import { IconPencil } from '@tabler/icons-react';
<IconPencil size={24} stroke={2} />Styles
Tabler ships this icon in 2 styles — each its own import:
outline
<IconPencil size={24} stroke={2} />filled
<IconPencilFilled size={24} stroke={2} />Details
- Library
- Tabler (5,093 icons)
- License
- MIT
- viewBox
0 0 24 24- Category
- Design
- Keywords
- writedrafteditnotepencilcreativeartisticvisualaestheticstyledesign
FAQ
- What is the pencil icon used for?
- It signifies actions related to writing, editing, or creating content. This includes editing text, drafting a new post, or opening a note-taking interface.
- How do I use the pencil icon in React?
- You can import and use it directly in your React components. Use the following import statement: import { IconPencil } from '@tabler/icons-react'
- What is the license for the Tabler pencil icon?
- The Tabler icon library, including the pencil icon, is distributed under the MIT license.
Related icons
The same idea in other libraries, and near matches in Tabler.
Looking for something else? Search Tabler and 4 more libraries by description →
The search behind these pages runs as a Claude Code skill. What skills are and how I ship them →