Person Sleeping In Bed icon
pinhead:person-sleeping-in-bed
The Person Sleeping In Bed icon (pinhead:person-sleeping-in-bed) is a free SVG icon from the Pinhead Map Icons set by Quincy Morgan. It is drawn on a 15 × 15 grid. Pinhead Map Icons are released under the CC0 license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Pinhead Map Icons
- Author
- Quincy Morgan
- License
- CC0-1.0
- Size
- 15 × 15
- Tags
- personsleeping, sleepingin, inbed, personsleepinginbed
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="15" height="15" viewBox="0 0 15 15"><path fill="currentColor" d="M.5 2.5c-.3 0-.5.2-.5.5v9.5c0 .3.2.5.5.5s.5-.2.5-.5V11h13v1.5c0 .3.2.5.5.5s.5-.2.5-.5v-2c0-.3-.2-.5-.5-.5H1V3c0-.3-.2-.5-.5-.5m3 .5C2.7 3 2 3.7 2 4.5S2.7 6 3.5 6S5 5.3 5 4.5S4.3 3 3.5 3M7 4C5.5 4 5.5 5.5 5.5 5.5V7H3c-.55 0-1 .45-1 1s.45 1 1 1h12V6.5C15 4 12.5 4 12.5 4z"/></svg>How to use the Person Sleeping In Bed icon
React
import { Icon } from "@iconify/react";
<Icon icon="pinhead:person-sleeping-in-bed" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="pinhead:person-sleeping-in-bed" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="pinhead:person-sleeping-in-bed" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[pinhead--person-sleeping-in-bed]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/pinhead -->
<div class="i-pinhead:person-sleeping-in-bed"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="pinhead:person-sleeping-in-bed"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/pinhead/person-sleeping-in-bed.svg" alt="Person Sleeping In Bed icon" width="24" height="24">Related icons in Pinhead Map Icons
Person Sleeping In Bed icon FAQ
Is the Person Sleeping In Bed icon free for commercial use?
Yes. Pinhead Map Icons are released under the CC0 license, which allows use in personal and commercial projects.
How do I use the Person Sleeping In Bed icon in React?
Install @iconify/react and render <Icon icon="pinhead:person-sleeping-in-bed" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Person Sleeping In Bed icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/pinhead/person-sleeping-in-bed.svg" alt="Person Sleeping In Bed icon">, or paste the SVG code inline to style it with CSS.