Bed icon
wpf:bed
The Bed icon (wpf:bed) is a free SVG icon from the Icons8 Windows 8 Icons set by Icons8. It is drawn on a 26 × 26 grid. Icons8 Windows 8 Icons are released under the MIT 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
- Icons8 Windows 8 Icons
- Author
- Icons8
- License
- MIT
- Size
- 26 × 26
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="26" height="26" viewBox="0 0 26 26"><path fill="currentColor" d="M25 6h-1s-1 .014-1 1H3c0-.989-1-1-1-1H1c-.551 0-1 .449-1 1v18c0 .551.449 1 1 1h1s1-.014 1-1v-1c0-.551.449-1 1-1h18c.551 0 1 .449 1 1v1c0 .989 1 1 1 1h1c.551 0 1-.449 1-1V7c0-.551-.449-1-1-1M3 12c0-1.656.344-3 2-3h5c1.656 0 2 1.344 2 3zm11 0c0-1.656.344-3 2-3h5c1.656 0 2 1.344 2 3z"/></svg>How to use the Bed icon
React
import { Icon } from "@iconify/react";
<Icon icon="wpf:bed" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="wpf:bed" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="wpf:bed" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[wpf--bed]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/wpf -->
<div class="i-wpf:bed"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="wpf:bed"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/wpf/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. Icons8 Windows 8 Icons are released under the MIT 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="wpf: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/wpf/bed.svg" alt="Bed icon">, or paste the SVG code inline to style it with CSS.