Search Results
Font Awesome Star Icon : Fa Fa Star
Fontawesome Version 4.X
star
<i class='fa fa-star'></i>
star
<i class='fa fa-star' style='color: white'></i>
star
<i class='fa fa-star' style='color: red'></i>
star
<i class='fa fa-star' style='color: blue'></i>
star
<i class='fa fa-star' style='color: #f3da35'></i>
Fontawesome Version 5.X
star
<i class='fas fa-star'></i>
star
<i class='fas fa-star' style='color: white'></i>
star
<i class='fas fa-star' style='color: red'></i>
star
<i class='fas fa-star' style='color: blue'></i>
star
<i class='fas fa-star' style='color: #f3da35'></i>
Fontawesome Version 6.X
star
Web
<i class='fa-solid fa-star'></i>
React
<FontAwesomeIcon icon="fa-solid fa-star" />
Vue
<font-awesome-icon icon="fa-solid fa-star" />
star
Web
<i class='fa-solid fa-star' style='color: white'></i>
React
<FontAwesomeIcon icon="fa-solid fa-star" style={{color: 'white'}} />
Vue
<font-awesome-icon icon="fa-solid fa-star" :style="{color: 'white'}" />
star
Web
<i class='fa-solid fa-star' style='color: red'></i>
React
<FontAwesomeIcon icon="fa-solid fa-star" style={{color: 'red'}} />
Vue
<font-awesome-icon icon="fa-solid fa-star" :style="{color: 'red'}" />
star
Web
<i class='fa-solid fa-star' style='color: blue'></i>
React
<FontAwesomeIcon icon="fa-solid fa-star" style={{color: 'blue'}} />
Vue
<font-awesome-icon icon="fa-solid fa-star" :style="{color: 'blue'}" />
star
Web
<i class='fa-solid fa-star' style='color: #f3da35'></i>
React
<FontAwesomeIcon icon="fa-solid fa-star" style={{color: '#f3da35'}} />
Vue
<font-awesome-icon icon="fa-solid fa-star" :style="{color: '#f3da35'}" />
FA Regular star Version 6.X
How to add Font Awesome star Icon ?
Font Awesome Icon fa fa star 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 star
<!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-star'></i>
</body>
</html>
Tags
rating, asterisk, reference, mark, Pride, achievement, goal, divinity, hope, forever, heaven, freedom,Full Star,Shape,Like,Favorite
Change Font Awesome Icon Star 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-star blue-color'></i>
<i class='fa fa-star green-color'></i>
<i class='fa fa-star teal-color'></i>
<i class='fa fa-star yellow-color'></i>
<i class='fa fa-star 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'>
Advertisements
Advertisements