Font Awesome File Pdf Icon (Document, Digital File, PDF Viewer)

In this tutorial we will learn how to use Font Awesome File PDF Icon. It used to represents Portable Document Format, book, folder Digital File and PDF Viewer and is also known as "fa-File PDF". If you want to edit or customize this file pdf icon, utilize the 'Try It' editor to change its color, size, and animation.


Fontawesome Version 5.X

file pdf

<i class='fas fa-file-pdf'></i>

file pdf

<i class='fas fa-file-pdf' style='color: white'></i>

file pdf

<i class='fas fa-file-pdf' style='color: red'></i>

file pdf

<i class='fas fa-file-pdf' style='color: blue'></i>

file pdf

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

Fontawesome Version 6.X

file pdf

Web

<i class='fa-solid fa-file-pdf'></i>

React

<FontAwesomeIcon icon="fa-solid fa-file-pdf" />

Vue

<font-awesome-icon icon="fa-solid fa-file-pdf" />

file pdf

Web

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

React

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

Vue

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

file pdf

Web

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

React

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

Vue

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

file pdf

Web

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

React

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

Vue

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

file pdf

Web

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

React

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

Vue

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

FA Regular file pdf Version 6.X

px Enter Size
Color Code
HTML
<i class="fa-regular fa-file-pdf"></i>

How to add Font Awesome file pdf Icon ?

Font Awesome Icon fas fa file pdf 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='fas fa-file-pdf'></i>
Icon Code -
fas fa-file-pdf

HTML Code

Get complete html code for icon file pdf

                    
                    <!DOCTYPE html>
                    <html>
                        <head>
                        <title>Page Title</title>
                        <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">
                       </head>
                        <body>
                        <i class='fas fa-file-pdf'></i>
                        </body>
                    </html>                    

Tags

Document,Electronic Document,Digital File,PDF Viewer

Change Font Awesome Icon File pdf 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='fas fa-file-pdf blue-color'></i> <i class='fas fa-file-pdf green-color'></i> <i class='fas fa-file-pdf teal-color'></i> <i class='fas fa-file-pdf yellow-color'></i> <i class='fas fa-file-pdf 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://use.fontawesome.com/releases/v5.5.0/css/all.css" integrity="sha384-B4dIYHKNBt8Bc12p+WXckhzcICo0wtJAoU8YZTY5qE0Id1GSseTk6S+L3BlXeVIU" crossorigin="anonymous">            
            

File Pdf Icon Font Awesome - FAQs

⭐What is the Font Awesome File Pdf Icon code?

Icon Code is - fas fa-file-pdf.

⭐ What does the fas fa-file-pdf Icon mean?

fas fa-file-pdf is the Icon code of Font Awesome File Pdf.

⭐ Can we add fas fa-file-pdf Icon in different sizes?

Yes, you can Icon of fas fa-file-pdf in various pixels.

⭐ How to add a Blue color Font Awesome File Pdf Icon?

Add the blue color File Pdf icon of the font awesome by using code: fas fa-file-pdf style='color: blue;'.

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

To change the File Pdf icon to white color use code: fas fa-file-pdf style='color: white;'.

Advertisements



Advertisements



Looking For More Icons?