Font Awesome Dollar Icon (Money, Finance, Currency)

In this tutorial, we will learn how to use the Font Awesome Dollar icon, which is used to indicate the US dollar currency. It can be accessed by the class name 'fa fa-dollar'. You can also edit or customize its color or size using the 'Try It' editor.

Fontawesome Version 4.X

dollar

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

dollar

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

dollar

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

dollar

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

dollar

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

How to add Font Awesome dollar Icon ?

Font Awesome Icon fa fa dollar 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-dollar'></i>
Icon Code -
fa fa-dollar

HTML Code

Get complete html code for icon dollar

                    
                    <!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-dollar'></i>
                        </body>
                    </html>                    

Tags

money,finance,currency

Change Font Awesome Icon Dollar 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-dollar blue-color'></i>
      <i class='fa fa-dollar green-color'></i>
      <i class='fa fa-dollar teal-color'></i>
      <i class='fa fa-dollar yellow-color'></i>
      <i class='fa fa-dollar 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

Advertisements



Advertisements



Looking For More Icons?