Bed icon
fa-solid:bed
The Bed icon (fa-solid:bed) is a free SVG icon from the Font Awesome 5 Solid set by Dave Gandy. It is drawn on a 640 × 512 grid. Font Awesome 5 Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Font Awesome 5 Solid
- Author
- Dave Gandy
- License
- CC-BY-4.0
- Size
- 640 × 512
- Category
- Household, Maps, Hotel, Travel, Users & People, Objects
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="640" height="512" viewBox="0 0 640 512"><path fill="currentColor" d="M176 256c44.11 0 80-35.89 80-80s-35.89-80-80-80s-80 35.89-80 80s35.89 80 80 80m352-128H304c-8.84 0-16 7.16-16 16v144H64V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v352c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16v-48h512v48c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V240c0-61.86-50.14-112-112-112"/></svg>How to use the Bed icon
React
import { Icon } from "@iconify/react";
<Icon icon="fa-solid:bed" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="fa-solid:bed" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="fa-solid:bed" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[fa-solid--bed]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/fa-solid -->
<div class="i-fa-solid:bed"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="fa-solid:bed"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/fa-solid/bed.svg" alt="Bed icon" width="24" height="24">Bed icon in other icon sets
Bed icon FAQ
Is the Bed icon free for commercial use?
Yes. Font Awesome 5 Solid icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Bed icon in React?
Install @iconify/react and render <Icon icon="fa-solid:bed" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Bed icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/fa-solid/bed.svg" alt="Bed icon">, or paste the SVG code inline to style it with CSS.