Font Awesome Location Dot(Marker, Pin,Symbol)

In this tutorial, learn how to utilize the Font Awesome location dot icons, particularly the location pin or map marker symbol. These icons represent geographical locations, map pins, GPS points, and tracking indicators. They are recognized as "fa fa-location-dot. Learn how to change their color, size, and style in the "Try It" editor.

Fontawesome Version 6.X

location dot

Web

<i class='fa-solid fa-location-dot'></i>

React

<FontAwesomeIcon icon="fa-solid fa-location-dot" />

Vue

<font-awesome-icon icon="fa-solid fa-location-dot" />

location dot

Web

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

React

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

Vue

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

location dot

Web

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

React

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

Vue

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

location dot

Web

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

React

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

Vue

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

location dot

Web

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

React

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

Vue

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

How to add Font Awesome location dot Icon ?

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

HTML Code

Get complete html code for icon location dot

                    
                    <!DOCTYPE html>
                    <html>
                        <head>
                        <title>Page Title</title>
                        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.1/css/all.min.css"  crossorigin="anonymous" referrerpolicy="no-referrer" />
                       </head>
                        <body>
                        <i class='fa-solid fa-location-dot'></i>
                        </body>
                    </html>                    

Tags

Marker,pin ,symbol

Change Font Awesome Icon Location dot 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-solid fa-location-dot blue-color'></i> <i class='fa-solid fa-location-dot green-color'></i> <i class='fa-solid fa-location-dot teal-color'></i> <i class='fa-solid fa-location-dot yellow-color'></i> <i class='fa-solid fa-location-dot 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/6.5.1/css/all.min.css"  crossorigin="anonymous" referrerpolicy="no-referrer" />            
            
Related Icons

Location Dot Icon Font Awesome - FAQs

⭐What is the Font Awesome Location Dot Icon code?

Icon Code is - fa-solid fa-location-dot.

⭐ What does the fa-solid fa-location-dot Icon mean?

fa-solid fa-location-dot is the Icon code of Font Awesome Location Dot.

⭐ Can we add fa-solid fa-location-dot Icon in different sizes?

Yes, you can Icon of fa-solid fa-location-dot in various pixels.

⭐ How to add a Blue color Font Awesome Location Dot Icon?

Add the blue color Location Dot icon of the font awesome by using code: fa-solid fa-location-dot style='color: blue;'.

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

To change the Location Dot icon to white color use code: fa-solid fa-location-dot style='color: white;'.

Advertisements



Advertisements



Looking For More Icons?