Bed icon
whh:bed
The Bed icon (whh:bed) is a free SVG icon from the WebHostingHub Glyphs set by WebHostingHub. It is drawn on a 1025 × 768 grid. WebHostingHub Glyphs icons are released under the Open Font 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
- WebHostingHub Glyphs
- Author
- WebHostingHub
- License
- OFL-1.1
- Size
- 1025 × 768
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="1025" height="768" viewBox="0 0 1025 768"><path fill="currentColor" d="M960.936 512h-896q-27 0-45.5-18.5T.936 448V320q0-27 18.5-45.5t45.5-18.5h896q26 0 45 18.5t19 45.5v128q0 26-19 45t-45 19m-640-320h-256q-27 0-45.5-18.5T.936 128V96q0-50 35-73t93-23q38 0 97 16.5t109 47.5t50 64q0 27-18.5 45.5t-45.5 18.5m-64 384v128q0 27-19 45.5t-45.5 18.5t-45-18.5t-18.5-45.5V576zm640 0v128q0 27-19 45.5t-45.5 18.5t-45-18.5t-18.5-45.5V576z"/></svg>How to use the Bed icon
React
import { Icon } from "@iconify/react";
<Icon icon="whh:bed" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="whh:bed" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="whh:bed" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[whh--bed]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/whh -->
<div class="i-whh:bed"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="whh:bed"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/whh/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. WebHostingHub Glyphs icons are released under the Open Font License, which allows use in personal and commercial projects.
How do I use the Bed icon in React?
Install @iconify/react and render <Icon icon="whh: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/whh/bed.svg" alt="Bed icon">, or paste the SVG code inline to style it with CSS.