Two Beds icon
roentgen:two-beds
The Two Beds icon (roentgen:two-beds) is a free SVG icon from the Röntgen set by Sergey Vartanov. It is drawn on a 24 × 24 grid. Röntgen icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- Röntgen
- Author
- Sergey Vartanov
- License
- CC-BY-4.0
- Size
- 24 × 24
- Tags
- twobeds, bed
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M1.5 1a.5.5 0 0 0-.5.5v12a.5.5 0 0 0 1 0V12h12v1.5a.5.5 0 0 0 1 0v-10a.5.5 0 0 0-.187-.39s-.714-.563-1.975-.962a9.4 9.4 0 0 0-2.318-.412a11.5 11.5 0 0 0-3.13.276A.5.5 0 0 0 7 2.5V5H2V1.5a.5.5 0 0 0-.5-.5M4 2c-.554 0-1 .446-1 1s.446 1 1 1h1c.554 0 1-.446 1-1s-.446-1-1-1zM2 6h12v2.62a8 8 0 0 0-1.162-.472a9.4 9.4 0 0 0-2.318-.412a11.5 11.5 0 0 0-3.13.276A.5.5 0 0 0 7 8.5V11H2zm2 2c-.554 0-1 .446-1 1s.446 1 1 1h1c.554 0 1-.446 1-1s-.446-1-1-1z"/></svg>How to use the Two Beds icon
React
import { Icon } from "@iconify/react";
<Icon icon="roentgen:two-beds" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="roentgen:two-beds" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="roentgen:two-beds" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[roentgen--two-beds]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/roentgen -->
<div class="i-roentgen:two-beds"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="roentgen:two-beds"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/roentgen/two-beds.svg" alt="Two Beds icon" width="24" height="24">Related icons in Röntgen
Two Beds icon FAQ
Is the Two Beds icon free for commercial use?
Yes. Röntgen icons are released under the CC BY 4.0 license, which allows use in personal and commercial projects as long as you credit the author.
How do I use the Two Beds icon in React?
Install @iconify/react and render <Icon icon="roentgen:two-beds" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Two Beds icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/roentgen/two-beds.svg" alt="Two Beds icon">, or paste the SVG code inline to style it with CSS.