Bed icon
A hand-drawn bed icon that animates on its own: an SVG on a 24px grid in thin, regular and bold strokes. Free to download and use in the apps you build (LumioUI License). It takes your text colour through currentColor.
- Category
- Health
- Grid
- 24 × 24
- Strokes
- 1.5 · 2 · 2.5
- Name
bed
Stroke weights and sizes
Use it in React Native
Paste the SVG into react-native-svg's SvgXml. The Icon component covers a curated set by name, and Animated Icons plays the motion natively.
TSX BedIcon.tsx
import { SvgXml } from "react-native-svg";
const BedIcon = `<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M3.5 5L3.5 20"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M3.5 14.5L20.5 14.5"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M20.5 10L20.5 20"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M5.6 14.5L5.6 12.6C5.6 11.8 6.2 11.2 7 11.2L9 11.2C9.8 11.2 10.4 11.8 10.4 12.6L10.4 14.5"></path></g></svg>`;
<SvgXml xml={BedIcon} width={24} height={24} color="#111" /> SVG code
The still glyph. The animated version, linked above, plays its motion on its own with SMIL, so it needs no script.
SVG bed.svg
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none"><g><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M3.5 5L3.5 20"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M3.5 14.5L20.5 14.5"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M20.5 10L20.5 20"></path><path stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" fill="none" d="M5.6 14.5L5.6 12.6C5.6 11.8 6.2 11.2 7 11.2L9 11.2C9.8 11.2 10.4 11.8 10.4 12.6L10.4 14.5"></path></g></svg> On the web, link it straight from the CDN:
HTML index.html
<img src="https://cdn.lumioui.com/iconset/static/bed.svg" width="24" height="24" alt="Bed" />