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