Font Awesome Pencil (Edit, Write, Drawing, Pen)

The Font Awesome pencil (edit) icon can be used to represent editing, writing, or drawing. There are two ways to use the pencil icon in Font Awesome: Fa Fa Pencil and Fa Solid Fa Pencil. The former uses the i tag with the class fa fa-pencil, while the latter uses the i tag with the class fa-solid fa-pencil. The Font Awesome Pencil Icon refers to an object used for writing or drawing, typically made of wood and consisting of a thin stick of black or colored material. This Font Awesome pencil icon is also known as 'fa-Pencil, color, pen'.

Fontawesome Version 4.X

pencil

<i class='fa fa-pencil'></i>

pencil

<i class='fa fa-pencil' style='color: white'></i>

pencil

<i class='fa fa-pencil' style='color: red'></i>

pencil

<i class='fa fa-pencil' style='color: blue'></i>

pencil

<i class='fa fa-pencil' style='color: #f3da35'></i>
Try it Yourself

Fontawesome Version 6.X

pencil

Web

<i class='fa-solid fa-pencil'></i>

React

<FontAwesomeIcon icon="fa-solid fa-pencil" />

Vue

<font-awesome-icon icon="fa-solid fa-pencil" />

pencil

Web

<i class='fa-solid fa-pencil' style='color: white'></i>

React

<FontAwesomeIcon icon="fa-solid fa-pencil" style={{color: 'white'}} />

Vue

<font-awesome-icon icon="fa-solid fa-pencil" :style="{color: 'white'}" />

pencil

Web

<i class='fa-solid fa-pencil' style='color: red'></i>

React

<FontAwesomeIcon icon="fa-solid fa-pencil" style={{color: 'red'}} />

Vue

<font-awesome-icon icon="fa-solid fa-pencil" :style="{color: 'red'}" />

pencil

Web

<i class='fa-solid fa-pencil' style='color: blue'></i>

React

<FontAwesomeIcon icon="fa-solid fa-pencil" style={{color: 'blue'}} />

Vue

<font-awesome-icon icon="fa-solid fa-pencil" :style="{color: 'blue'}" />

pencil

Web

<i class='fa-solid fa-pencil' style='color: #f3da35'></i>

React

<FontAwesomeIcon icon="fa-solid fa-pencil" style={{color: '#f3da35'}} />

Vue

<font-awesome-icon icon="fa-solid fa-pencil" :style="{color: '#f3da35'}" />
Try it Yourself

How to add Font Awesome pencil Icon ?

Font Awesome Icon fa fa pencil Icon can be added to any web page simply as below. You can integrate Icon in web pages by just adding following below syntax & icon code.

Icon -
<i class='fa fa-pencil'></i>
Icon Code -
fa fa-pencil

HTML Code

Get complete html code for icon pencil

                    
                    <!DOCTYPE html>
                    <html>
                        <head>
                        <title>Page Title</title>
                        <link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'>
                       </head>
                        <body>
                        <i class='fa fa-pencil'></i>
                        </body>
                    </html>                    

Tags

light,hint,shine,spark,edit,pen,write,drawings,color,pencile,pensil

Change Font Awesome Icon Pencil Color

Sometimes we need icons in different color, as we suggested by adding css style we can change color. Here we have created one example to change color of icons with css classes.


    <style>
.blue-color {
color:blue;
}
.green-color {
color:green;
}
.teal-color {
color:teal;
}
.yellow-color {
color:yellow;
}
.red-color {
color:red;
}
</style>
<i class='fa fa-pencil blue-color'></i> <i class='fa fa-pencil green-color'></i> <i class='fa fa-pencil teal-color'></i> <i class='fa fa-pencil yellow-color'></i> <i class='fa fa-pencil red-color'></i>

Output of the above example will be as below-


Note- Make Sure You have included the below Font Awesome file in header-
            
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'>            
            
Related Icons

Pencil Icon Font Awesome - FAQs

⭐What is the Font Awesome Pencil Icon code?

Icon Code is - fa fa-pencil.

⭐ What does the fa fa-pencil Icon mean?

fa fa-pencil is the Icon code of Font Awesome Pencil.

⭐ Can we add fa fa-pencil Icon in different sizes?

Yes, you can Icon of fa fa-pencil in various pixels.

⭐ How to add a Blue color Font Awesome Pencil Icon?

Add the blue color Pencil icon of the font awesome by using code: fa fa-pencil style='color: blue;'.

⭐ How to make white color icon of a Font Awesome Pencil?

To change the Pencil icon to white color use code: fa fa-pencil style='color: white;'.

Advertisements



Advertisements



Looking For More Icons?