Searching....
Search Results
Font Awesome Leaf (Leaves)
The Font Awesome Leaf icon, represented by the class fa fa-leaf, is a powerful symbol associated with nature. If you want to edit or customize this icon's style, such as color, font-size, and animation, you can use the TryIt Editor to modify the code.
Fontawesome Version 4.X
leaf
<i class='fa fa-leaf'></i>
leaf
<i class='fa fa-leaf' style='color: white'></i>
leaf
<i class='fa fa-leaf' style='color: red'></i>
leaf
<i class='fa fa-leaf' style='color: blue'></i>
leaf
<i class='fa fa-leaf' style='color: #f3da35'></i>
Fontawesome Version 5.X
leaf
<i class='fas fa-leaf'></i>
leaf
<i class='fas fa-leaf' style='color: white'></i>
leaf
<i class='fas fa-leaf' style='color: red'></i>
leaf
<i class='fas fa-leaf' style='color: blue'></i>
leaf
<i class='fas fa-leaf' style='color: #f3da35'></i>
Fontawesome Version 6.X
leaf
Web
<i class='fa-solid fa-leaf'></i>
React
<FontAwesomeIcon icon="fa-solid fa-leaf" />
Vue
<font-awesome-icon icon="fa-solid fa-leaf" />
leaf
Web
<i class='fa-solid fa-leaf' style='color: white'></i>
React
<FontAwesomeIcon icon="fa-solid fa-leaf" style={{color: 'white'}} />
Vue
<font-awesome-icon icon="fa-solid fa-leaf" :style="{color: 'white'}" />
leaf
Web
<i class='fa-solid fa-leaf' style='color: red'></i>
React
<FontAwesomeIcon icon="fa-solid fa-leaf" style={{color: 'red'}} />
Vue
<font-awesome-icon icon="fa-solid fa-leaf" :style="{color: 'red'}" />
leaf
Web
<i class='fa-solid fa-leaf' style='color: blue'></i>
React
<FontAwesomeIcon icon="fa-solid fa-leaf" style={{color: 'blue'}} />
Vue
<font-awesome-icon icon="fa-solid fa-leaf" :style="{color: 'blue'}" />
leaf
Web
<i class='fa-solid fa-leaf' style='color: #f3da35'></i>
React
<FontAwesomeIcon icon="fa-solid fa-leaf" style={{color: '#f3da35'}} />
Vue
<font-awesome-icon icon="fa-solid fa-leaf" :style="{color: '#f3da35'}" />
How to add Font Awesome leaf Icon ?
Font Awesome Icon fa fa leaf 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 leaf
<!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-leaf'></i>
</body>
</html>
Tags
leaves
Change Font Awesome Icon Leaf 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-leaf blue-color'></i>
<i class='fa fa-leaf green-color'></i>
<i class='fa fa-leaf teal-color'></i>
<i class='fa fa-leaf yellow-color'></i>
<i class='fa fa-leaf 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'>
Advertisements
Advertisements