Search Results
Font Awesome Trash Can Icon (Bin, Remove, Empty, Garbage)
Fontawesome Version 6.X
trash can
Web
<i class='fa-solid fa-trash-can'></i>
React
<FontAwesomeIcon icon="fa-solid fa-trash-can" />
Vue
<font-awesome-icon icon="fa-solid fa-trash-can" />
trash can
Web
<i class='fa-solid fa-trash-can' style='color: white'></i>
React
<FontAwesomeIcon icon="fa-solid fa-trash-can" style={{color: 'white'}} />
Vue
<font-awesome-icon icon="fa-solid fa-trash-can" :style="{color: 'white'}" />
trash can
Web
<i class='fa-solid fa-trash-can' style='color: red'></i>
React
<FontAwesomeIcon icon="fa-solid fa-trash-can" style={{color: 'red'}} />
Vue
<font-awesome-icon icon="fa-solid fa-trash-can" :style="{color: 'red'}" />
trash can
Web
<i class='fa-solid fa-trash-can' style='color: blue'></i>
React
<FontAwesomeIcon icon="fa-solid fa-trash-can" style={{color: 'blue'}} />
Vue
<font-awesome-icon icon="fa-solid fa-trash-can" :style="{color: 'blue'}" />
trash can
Web
<i class='fa-solid fa-trash-can' style='color: #f3da35'></i>
React
<FontAwesomeIcon icon="fa-solid fa-trash-can" style={{color: '#f3da35'}} />
Vue
<font-awesome-icon icon="fa-solid fa-trash-can" :style="{color: '#f3da35'}" />
FA Regular trash can Version 6.X
How to add Font Awesome trash can Icon ?
Font Awesome Icon fa solid fa trash can 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 trash can
<!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-trash-can'></i>
</body>
</html>
Tags
trash bin,rubbish,empty,clean up,remove,discard
Change Font Awesome Icon Trash can 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-trash-can blue-color'></i>
<i class='fa-solid fa-trash-can green-color'></i>
<i class='fa-solid fa-trash-can teal-color'></i>
<i class='fa-solid fa-trash-can yellow-color'></i>
<i class='fa-solid fa-trash-can 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" />
Trash Can Icon Font Awesome - FAQs
⭐What is the Font Awesome Trash Can Icon code?Icon Code is - fa-solid fa-trash-can.
⭐ What does the fa-solid fa-trash-can Icon mean?fa-solid fa-trash-can is the Icon code of Font Awesome Trash Can.
⭐ Can we add fa-solid fa-trash-can Icon in different sizes?Yes, you can Icon of fa-solid fa-trash-can in various pixels.
⭐ How to add a Blue color Font Awesome Trash Can Icon?Add the blue color Trash Can icon of the font awesome by using code: fa-solid fa-trash-can style='color: blue;'.
⭐ How to make white color icon of a Font Awesome Trash Can?To change the Trash Can icon to white color use code: fa-solid fa-trash-can style='color: white;'.
Advertisements
Advertisements