Font Awesome Compass Icon

Compass Icon is given below. You can use this icon in the same way in your project. First, make sure you have added the Font Awesome Icon library. If this library is added, just add the HTML CSS class fa fa-compass to any element to add the icon. Font Awesome compass Icon can be resized as per your need. You can manage the size of the icon (fa fa compass) by using the font-size CSS style.

You can get steps to add HTML icon Compass in Web, Font Awesome and other framwork.

Fontawesome Version 4.X

compass

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

compass

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

compass

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

compass

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

compass

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


Fontawesome Version 5.X

compass

<i class='fas fa-compass'></i>

compass

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

compass

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

compass

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

compass

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

Fontawesome Version 6.X

compass

Web

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

React

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

Vue

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

compass

Web

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

React

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

Vue

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

compass

Web

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

React

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

Vue

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

compass

Web

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

React

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

Vue

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

compass

Web

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

React

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

Vue

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

FA Regular compass Version 6.X

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

How to add Font Awesome compass Icon ?

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

HTML Code

Get complete html code for icon compass

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

Font Awesome Icon compass Icon | fa fa compass | HTML, CSS

Adding Font Awesome Icon HTML Compass(fa fa-compass) in web project is very simple. You need to add the icon class along with fa, it is basically main class and mandatory for icons so do not forget to add this class. You can customize Font Awesome Icon compass Icon Compass as per your requirement, suppose that you need to chnage the color of Compass icon or change the size of size. It is pretty simple to change color of icon Compass just add style="color:red" it will make font color red. On the same way you can change size of Compass icon by just adding style="font-size:50px;". Smililarly you can add border color, shadow and other font styles to Compass. Hope this icon fullfilled your need. Thanks for visiting us.

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

 

 

Compass Icon Font Awesome - FAQs

⭐What is the Font Awesome Compass Icon code?

Icon Code is - fa fa-compass.

⭐ What does the fa fa-compass Icon mean?

fa fa-compass is the Icon code of Font Awesome Compass.

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

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

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

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

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

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

Advertisements



Advertisements



Looking For More Icons?