ICONYZ
English
Person In Bed icon from OpenMoji

Person In Bed icon

openmoji:person-in-bed

The Person In Bed icon (openmoji:person-in-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
People Body
Tags
personin, inbed, personinbed
Download SVG

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.44s4.875-3.688 16.88-.687v4l-15 1l-.813 1.25l-1.062-1.626l-.125-3.625z"/><path fill="#92d3f5" d="M22 41.6V28.88s.267-3.099 2.535-4.415c2.535-1.472 7.606 0 11.41-1.472c8.606-3.331 19.96 2.94 25.55 6.831c7.497 2.256 5.579 7.111 5.505 12.17"/><path fill="#fcea2b" d="M15.08 27.56a3 3 0 1 1 5.71.436"/><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.07v28M15.08 27.66a3 3 0 1 1 5.71.436M22 41.99v-14s.21-2.106 2-3c2-1 9.301-.959 12.3-1.959c6.789-2.263 18.59 3.356 23 6c5 3 7.699 1.813 7.699 4.959M5.042 29.9c1.854-1.855 9.25-3.042 15.96-.917"/></svg>

How to use the Person In Bed icon

React

import { Icon } from "@iconify/react";

<Icon icon="openmoji:person-in-bed" width="24" />

Vue

<script setup>
import { Icon } from "@iconify/vue";
</script>

<template>
  <Icon icon="openmoji:person-in-bed" width="24" />
</template>

Svelte

<script>
  import Icon from "@iconify/svelte";
</script>

<Icon icon="openmoji:person-in-bed" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[openmoji--person-in-bed]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/openmoji -->
<div class="i-openmoji:person-in-bed"></div>

Web component

<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>

<iconify-icon icon="openmoji:person-in-bed"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/openmoji/person-in-bed.svg" alt="Person In Bed icon" width="24" height="24">

Related icons in OpenMoji

Person In Bed icon in other icon sets

Person In Bed icon FAQ

Is the Person In 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 Person In Bed icon in React?

Install @iconify/react and render <Icon icon="openmoji:person-in-bed" />, or use “Copy code” on this page to get a standalone React component.

How do I add the Person In Bed icon to a web page?

Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/openmoji/person-in-bed.svg" alt="Person In Bed icon">, or paste the SVG code inline to style it with CSS.

Browse all OpenMoji icons →