gentleface

Gentleface › Home & household › crib

crib icon

Crib: crib, cot, nursery, baby bed. Drawn on the 16 px grid. Free SVG, PNG and code, MIT licensed.

Animated crib-rock · line-round

Given a push, the basket swings to and fro between the fixed end posts like a cradle, its rail and mattress tilting against the posts. Each swing is smaller until it hangs still.

Download SVG

Native SVG animation, with no CSS or script. It loops by itself. Inline it to take the text color: in an <img> it draws black. To play it once on hover or click, run 0.25 s to 3 s. Examples and helper.

Code line-round

SVG
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16" fill="currentColor" aria-hidden="true"><path d="M14 1.5C14 1.359 14.048 1.241 14.144 1.144C14.241 1.048 14.359 1 14.5 1C14.641 1 14.759 1.048 14.856 1.144C14.952 1.241 15 1.359 15 1.5L15 14.5C15 14.641 14.952 14.759 14.856 14.856C14.759 14.952 14.641 15 14.5 15C14.359 15 14.241 14.952 14.144 14.856C14.048 14.759 14 14.641 14 14.5L14 12L2 12L2 14.5C2 14.641 1.952 14.759 1.856 14.856C1.759 14.952 1.641 15 1.5 15C1.359 15 1.241 14.952 1.144 14.856C1.048 14.759 1 14.641 1 14.5L1 1.5C1 1.359 1.048 1.241 1.144 1.144C1.241 1.048 1.359 1 1.5 1C1.641 1 1.759 1.048 1.856 1.144C1.952 1.241 2 1.359 2 1.5L2 3L14 3L14 1.5ZM3 8L3 4L2 4L2 8L3 8ZM4 4L4 8L6 8L6 4L4 4ZM7 4L7 8L9 8L9 4L7 4ZM10 4L10 8L12 8L12 4L10 4ZM14 4L13 4L13 8L14 8L14 4ZM14 11L14 9L2 9L2 11L14 11Z"/></svg>
React
// Gentleface "crib" (line-round), MIT. https://gentleface.com/icons/crib
import type { SVGProps } from 'react';

export function CribIcon(props: SVGProps<SVGSVGElement>) {
  return (
    <svg xmlns="http://www.w3.org/2000/svg" width={16} height={16} viewBox="0 0 16 16" fill="currentColor" aria-hidden="true" {...props}>
      <path d="M14 1.5C14 1.359 14.048 1.241 14.144 1.144C14.241 1.048 14.359 1 14.5 1C14.641 1 14.759 1.048 14.856 1.144C14.952 1.241 15 1.359 15 1.5L15 14.5C15 14.641 14.952 14.759 14.856 14.856C14.759 14.952 14.641 15 14.5 15C14.359 15 14.241 14.952 14.144 14.856C14.048 14.759 14 14.641 14 14.5L14 12L2 12L2 14.5C2 14.641 1.952 14.759 1.856 14.856C1.759 14.952 1.641 15 1.5 15C1.359 15 1.241 14.952 1.144 14.856C1.048 14.759 1 14.641 1 14.5L1 1.5C1 1.359 1.048 1.241 1.144 1.144C1.241 1.048 1.359 1 1.5 1C1.641 1 1.759 1.048 1.856 1.144C1.952 1.241 2 1.359 2 1.5L2 3L14 3L14 1.5ZM3 8L3 4L2 4L2 8L3 8ZM4 4L4 8L6 8L6 4L4 4ZM7 4L7 8L9 8L9 4L7 4ZM10 4L10 8L12 8L12 4L10 4ZM14 4L13 4L13 8L14 8L14 4ZM14 11L14 9L2 9L2 11L14 11Z" />
    </svg>
  );
}
Vue
Vue: see /icons/crib.md
Svelte
Svelte: see /icons/crib.md
HTML img
HTML img: see /icons/crib.md
CSS
CSS: see /icons/crib.md
Data URL
Data URL: see /icons/crib.md
Sprite
Sprite: see /icons/crib.md
SwiftUI
SwiftUI: see /icons/crib.md
Compose
Compose: see /icons/crib.md
Android XML
Android XML: see /icons/crib.md
Flutter
Flutter: see /icons/crib.md

Each icon is drawn on the 16 px grid, and most also on the 20 and 24 px grids (at 24 in three weights: light 1 px, regular 1.5 px, bold 2 px). Show the drawing made for your size, or an exact multiple of it, on whole pixels: 16 for 16 and 32 px, 20 for 20 and 40, 24 for 24 and 48. A size in between or a fractional position blurs it. The code on each icon page is the 16 px drawing, an SVG with fill="currentColor"; the icon page's downloads follow its Grid switch, and npm has the 20 and 24 px drawings too. The snippets are decorative (aria-hidden). For an icon that carries meaning on its own, such as an icon-only button, label the button, or give the SVG role="img" and an aria-label. More in how to use.

With npm: import { CribIcon } from '@gentleface/react'; (setup).

Meaning

Use it for
crib, cot, nursery, baby bed
Tags
crib, cot, baby-bed, nursery, cradle, bassinet, baby, infant, newborn, bedroom, furniture
Category
Home & household
Component name
CribIcon
History
  • 20 px drawn, 24 px drawn, added, released in 0.4.0
Since
version 0.4.0

Family 6

More home & household icons

For agents

Metadata: /icons/crib.json · Markdown: /icons/crib.md · SVG: https://gentleface.com/svg/{style}/16/crib.svg · PNG: https://gentleface.com/png/{style}/{16|32|48}/crib.png