ICONYZ
English
Bed Single icon from Keyline Icons

Bed Single icon

keyline-icons:bed-single

The Bed Single icon (keyline-icons:bed-single) is a free SVG icon from the Keyline Icons set. It is drawn on a 24 × 24 grid. Keyline 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
Keyline Icons
Author
Keyline Icons
License
MIT
Size
24 × 24
Tags
bedsingle
Download SVG

SVG code

<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M6 11L18 11C19.1046 11 20 11.8954 20 13L20 18C20 19.1046 19.1046 20 18 20L6 20C4.8954 20 4 19.1046 4 18L4 13C4 11.8954 4.8954 11 6 11ZM7 11L7 6C7 4.8954 7.8954 4 9 4L15 4C16.1046 4 17 4.8954 17 6L17 11M4 15L20 15"/></svg>

How to use the Bed Single icon

React

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

<Icon icon="keyline-icons:bed-single" width="24" />

Vue

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

<template>
  <Icon icon="keyline-icons:bed-single" width="24" />
</template>

Svelte

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

<Icon icon="keyline-icons:bed-single" width="24" />

Tailwind CSS

<!-- @iconify/tailwind plugin -->
<span class="icon-[keyline-icons--bed-single]"></span>

UnoCSS

<!-- @unocss/preset-icons + @iconify-json/keyline-icons -->
<div class="i-keyline-icons:bed-single"></div>

Web component

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

<iconify-icon icon="keyline-icons:bed-single"></iconify-icon>

HTML image

<img src="https://iconyz.com/api/public/svg/keyline-icons/bed-single.svg" alt="Bed Single icon" width="24" height="24">

Related icons in Keyline Icons

Bed Single icon in other icon sets

Bed Single icon FAQ

Is the Bed Single icon free for commercial use?

Yes. Keyline Icons are released under the MIT license, which allows use in personal and commercial projects.

How do I use the Bed Single icon in React?

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

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

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

Browse all Keyline Icons →