Bed 20 Bold icon
energy-icons:bed-20-bold
The Bed 20 Bold icon (energy-icons:bed-20-bold) is a free SVG icon from the Energy Icons set by Sam Passmore. It is drawn on a 20 × 20 grid. Energy 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
- Energy Icons
- Author
- Sam Passmore
- License
- MIT
- Size
- 20 × 20
- Tags
- bedbold
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="0 0 20 20"><path fill="currentColor" d="M1.042 16.667V5a.625.625 0 1 1 1.25 0v11.667a.625.625 0 1 1-1.25 0"/><path fill="currentColor" d="M17.708 16.667v-3.542H1.667v-1.25h16.666c.345 0 .625.28.625.625v4.167a.625.625 0 1 1-1.25 0m-10.833-7.5a.21.21 0 0 0-.208-.209h-2.5a.21.21 0 0 0-.209.209V10c0 .114.093.208.209.208h2.5A.21.21 0 0 0 6.875 10zm1.25.833c0 .805-.653 1.458-1.458 1.458h-2.5A1.46 1.46 0 0 1 2.708 10v-.833c0-.806.653-1.459 1.459-1.459h2.5c.806 0 1.458.653 1.458 1.459z"/></svg>How to use the Bed 20 Bold icon
React
import { Icon } from "@iconify/react";
<Icon icon="energy-icons:bed-20-bold" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="energy-icons:bed-20-bold" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="energy-icons:bed-20-bold" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[energy-icons--bed-20-bold]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/energy-icons -->
<div class="i-energy-icons:bed-20-bold"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="energy-icons:bed-20-bold"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/energy-icons/bed-20-bold.svg" alt="Bed 20 Bold icon" width="24" height="24">Related icons in Energy Icons
Bed 20 Bold icon FAQ
Is the Bed 20 Bold icon free for commercial use?
Yes. Energy Icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Bed 20 Bold icon in React?
Install @iconify/react and render <Icon icon="energy-icons:bed-20-bold" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Bed 20 Bold icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/energy-icons/bed-20-bold.svg" alt="Bed 20 Bold icon">, or paste the SVG code inline to style it with CSS.