Font Awesome Cube Icon - Cubic

The Font Awesome cube icon can represent various concepts related to cubes, such as geometry, 3D design, or even abstract ideas. If you want to edit or modify the color, font size, style, and animation, use the tryit editor.

Fontawesome Version 4.X

cube

<i class='fa fa-cube'></i>

cube

<i class='fa fa-cube' style='color: white'></i>

cube

<i class='fa fa-cube' style='color: red'></i>

cube

<i class='fa fa-cube' style='color: blue'></i>

cube

<i class='fa fa-cube' style='color: #f3da35'></i>
Try it Yourself


Fontawesome Version 5.X

cube

<i class='fas fa-cube'></i>

cube

<i class='fas fa-cube' style='color: white'></i>

cube

<i class='fas fa-cube' style='color: red'></i>

cube

<i class='fas fa-cube' style='color: blue'></i>

cube

<i class='fas fa-cube' style='color: #f3da35'></i>
Try it Yourself

Fontawesome Version 6.X

cube

Web

<i class='fa-solid fa-cube'></i>

React

<FontAwesomeIcon icon="fa-solid fa-cube" />

Vue

<font-awesome-icon icon="fa-solid fa-cube" />

cube

Web

<i class='fa-solid fa-cube' style='color: white'></i>

React

<FontAwesomeIcon icon="fa-solid fa-cube" style={{color: 'white'}} />

Vue

<font-awesome-icon icon="fa-solid fa-cube" :style="{color: 'white'}" />

cube

Web

<i class='fa-solid fa-cube' style='color: red'></i>

React

<FontAwesomeIcon icon="fa-solid fa-cube" style={{color: 'red'}} />

Vue

<font-awesome-icon icon="fa-solid fa-cube" :style="{color: 'red'}" />

cube

Web

<i class='fa-solid fa-cube' style='color: blue'></i>

React

<FontAwesomeIcon icon="fa-solid fa-cube" style={{color: 'blue'}} />

Vue

<font-awesome-icon icon="fa-solid fa-cube" :style="{color: 'blue'}" />

cube

Web

<i class='fa-solid fa-cube' style='color: #f3da35'></i>

React

<FontAwesomeIcon icon="fa-solid fa-cube" style={{color: '#f3da35'}} />

Vue

<font-awesome-icon icon="fa-solid fa-cube" :style="{color: '#f3da35'}" />
Try it Yourself

How to add Font Awesome cube Icon ?

Font Awesome Icon fa fa cube 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.

Icon -
<i class='fa fa-cube'></i>
Icon Code -
fa fa-cube

HTML Code

Get complete html code for icon cube

                    
                    <!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-cube'></i>
                        </body>
                    </html>                    

Tags

cubic,block,geometric,dice,square

Change Font Awesome Icon Cube 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-cube blue-color'></i> <i class='fa fa-cube green-color'></i> <i class='fa fa-cube teal-color'></i> <i class='fa fa-cube yellow-color'></i> <i class='fa fa-cube 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'>            
            
Related Icons

Advertisements



Advertisements



Looking For More Icons?