bed icon
bed from Iconoir by Luca Burgio · Regular · Home · MIT Free for personal and commercial use.
- Name
- bed
- Set
- Iconoir
- Style
- Regular
- Category
- Home
- Viewbox
- 24×24
- License
- MIT
The same icon in other sets
bedBoxIcons v2bedBoxIcons v2 SolidbedEmoji One (Colored)bedFont Awesome 6 SolidbedFont Awesome Solidbed-outlineFlowbite Iconsbed-16-filledFluent UI System IconsbedFluent EmojibedFluent Emoji FlatbedFluent Emoji High ContrastbedHuge IconsbedIonIconsbedLine AwesomebedLucidebedMaterial SymbolsbedMaterial Symbols LightbedMaterial Design Iconsbed-fillMingCute IconbedNoto EmojibedOpenMojibedPhosphorbedPixelarticonsbed-boldSolarbedTabler Icons
More home icons from Iconoir
Use the bed icon
SVG
<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M21 4v16a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2"/><path d="M3 8h8V6m10 2h-8V6"/></g></svg>
React
import type { SVGProps } from "react";
export function IconoirBed(props: SVGProps<SVGSVGElement>) {
return (
<svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" strokeLinecap="round" strokeLinejoin="round" strokeWidth="1.5"><path d="M21 4v16a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2"/><path d="M3 8h8V6m10 2h-8V6"/></g></svg>
);
}
Vue
<template> <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><g fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="1.5"><path d="M21 4v16a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2"/><path d="M3 8h8V6m10 2h-8V6"/></g></svg> </template>
CSS
.icon-bed {
width: 24px;
height: 24px;
background-color: currentColor;
-webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221.5%22%3E%3Cpath%20d%3D%22M21%204v16a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2V4a2%202%200%200%201%202-2h14a2%202%200%200%201%202%202%22%2F%3E%3Cpath%20d%3D%22M3%208h8V6m10%202h-8V6%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%221em%22%20height%3D%221em%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22currentColor%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%20stroke-width%3D%221.5%22%3E%3Cpath%20d%3D%22M21%204v16a2%202%200%200%201-2%202H5a2%202%200%200%201-2-2V4a2%202%200%200%201%202-2h14a2%202%200%200%201%202%202%22%2F%3E%3Cpath%20d%3D%22M3%208h8V6m10%202h-8V6%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") no-repeat center / contain;
}Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/iconoir/bed.svg?color=%231a73e8&size=48