Search Results
Font Awesome Square
Fontawesome Version 4.X
square
<i class='fa fa-square'></i>
square
<i class='fa fa-square' style='color: white'></i>
square
<i class='fa fa-square' style='color: red'></i>
square
<i class='fa fa-square' style='color: blue'></i>
square
<i class='fa fa-square' style='color: #f3da35'></i>
Fontawesome Version 5.X
square
<i class='fas fa-square'></i>
square
<i class='fas fa-square' style='color: white'></i>
square
<i class='fas fa-square' style='color: red'></i>
square
<i class='fas fa-square' style='color: blue'></i>
square
<i class='fas fa-square' style='color: #f3da35'></i>
Fontawesome Version 6.X
square
Web
<i class='fa-solid fa-square'></i>
React
<FontAwesomeIcon icon="fa-solid fa-square" />
Vue
<font-awesome-icon icon="fa-solid fa-square" />
square
Web
<i class='fa-solid fa-square' style='color: white'></i>
React
<FontAwesomeIcon icon="fa-solid fa-square" style={{color: 'white'}} />
Vue
<font-awesome-icon icon="fa-solid fa-square" :style="{color: 'white'}" />
square
Web
<i class='fa-solid fa-square' style='color: red'></i>
React
<FontAwesomeIcon icon="fa-solid fa-square" style={{color: 'red'}} />
Vue
<font-awesome-icon icon="fa-solid fa-square" :style="{color: 'red'}" />
square
Web
<i class='fa-solid fa-square' style='color: blue'></i>
React
<FontAwesomeIcon icon="fa-solid fa-square" style={{color: 'blue'}} />
Vue
<font-awesome-icon icon="fa-solid fa-square" :style="{color: 'blue'}" />
square
Web
<i class='fa-solid fa-square' style='color: #f3da35'></i>
React
<FontAwesomeIcon icon="fa-solid fa-square" style={{color: '#f3da35'}} />
Vue
<font-awesome-icon icon="fa-solid fa-square" :style="{color: '#f3da35'}" />
FA Regular square Version 6.X
How to add Font Awesome square Icon ?
Font Awesome Icon fa fa square 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.
HTML Code
Get complete html code for icon square
<!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-square'></i>
</body>
</html>
Tags
shape,rectangle
Change Font Awesome Icon Square 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-square blue-color'></i>
<i class='fa fa-square green-color'></i>
<i class='fa fa-square teal-color'></i>
<i class='fa fa-square yellow-color'></i>
<i class='fa fa-square red-color'></i>
Output of the above example will be as below-
<link rel='stylesheet' href='https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css'>
Square Icon Font Awesome - FAQs
⭐What is the Font Awesome Square Icon code?Icon Code is - fa fa-square.
⭐ What does the fa fa-square Icon mean?fa fa-square is the Icon code of Font Awesome Square.
⭐ Can we add fa fa-square Icon in different sizes?Yes, you can Icon of fa fa-square in various pixels.
⭐ How to add a Blue color Font Awesome Square Icon?Add the blue color Square icon of the font awesome by using code: fa fa-square style='color: blue;'.
⭐ How to make white color icon of a Font Awesome Square?To change the Square icon to white color use code: fa fa-square style='color: white;'.
Advertisements
Advertisements