Font Awesome Bed Icon (Rest, Comfort, Sleep)

The Font Awesome Bed icon, also known as fa fa-bed, is a symbol that evokes feelings of rest, comfort, and sleep. The Fa Bed icon serves as a gentle reminder to prioritize self-care . To access this icon, use the class name fa fa-bed.

Fontawesome Version 4.X

bed

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

bed

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

bed

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

bed

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

bed

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


Fontawesome Version 5.X

bed

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

bed

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

bed

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

bed

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

bed

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

Fontawesome Version 6.X

bed

Web

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

React

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

Vue

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

bed

Web

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

React

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

Vue

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

bed

Web

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

React

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

Vue

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

bed

Web

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

React

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

Vue

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

bed

Web

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

React

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

Vue

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

How to add Font Awesome bed Icon ?

Font Awesome Icon fa fa bed 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-bed'></i>
Icon Code -
fa fa-bed

HTML Code

Get complete html code for icon bed

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

Tags

Rest,Sleep,Bedroom,Comfort,Pillow,Blanket,Dream

Change Font Awesome Icon Bed 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-bed blue-color'></i>
      <i class='fa fa-bed green-color'></i>
      <i class='fa fa-bed teal-color'></i>
      <i class='fa fa-bed yellow-color'></i>
      <i class='fa fa-bed 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?