Bed icon
openmoji:bed
The Bed icon (openmoji:bed) is a free SVG icon from the OpenMoji set. It is drawn on a 72 × 72 grid. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- OpenMoji
- Author
- OpenMoji
- License
- CC-BY-SA-4.0
- Size
- 72 × 72
- Category
- Objects
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="72" height="72" viewBox="0 0 72 72"><path fill="#a57939" d="M5 42.5h62V49H5z"/><path fill="#d0cfce" d="M5 42v-4c0-1.65 1.35-3 3-3h56c1.65 0 3 1.35 3 3v4"/><path fill="#92d3f5" d="M5.125 30.44s6.387-2.767 12.27-2.721c2.296.018 5.686 1.897 5.712 3.874l-1.104 2.16l-15 1l-.812 1.25l-1.062-1.625l-.125-3.625z"/><path fill="#92d3f5" d="m22 41.6l.434-8.291c-3.052-4.924 32.48-2.528 44.6-2.638c.817 4.338.044 6.264-.03 11.32"/><path fill="none" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" d="M5 42h62v7H5zm0-1.01v-4c0-1.65 1.35-3 3-3h13.83M5 55.03V16.97m62 10.07v28M20.42 29.73c-1.61-1.197-4.604-1.538-7.357-1.598c-4.582.011-8.882 1.329-7.933 5.274M67 41.99v-8.32c0-1.65-1.35-3-2.99-3.001l-38.81-.001c-1.65 0-3 1.35-3 3v8"/></svg>How to use the Bed icon
React
import { Icon } from "@iconify/react";
<Icon icon="openmoji:bed" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="openmoji:bed" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="openmoji:bed" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[openmoji--bed]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/openmoji -->
<div class="i-openmoji:bed"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="openmoji:bed"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/openmoji/bed.svg" alt="Bed icon" width="24" height="24">Related icons in OpenMoji
Bed icon in other icon sets
Bed icon FAQ
Is the Bed icon free for commercial use?
Yes. OpenMoji icons are released under the CC BY-SA 4.0 license, which allows use in personal and commercial projects as long as you credit the author and share changes to the icons under the same license.
How do I use the Bed icon in React?
Install @iconify/react and render <Icon icon="openmoji: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/openmoji/bed.svg" alt="Bed icon">, or paste the SVG code inline to style it with CSS.