blanket from BoxIcons v2 by Boxicons · Regular · MIT Free for personal and commercial use.

Name
blanket
Set
BoxIcons v2
Style
Regular
Viewbox
24×24
License
MIT
Aliases
bx-blanket

The same icon in other sets

Use the blanket icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M20 2H7C4.243 2 2 4.243 2 7v10c0 2.757 2.243 5 5 5h12c1.654 0 3-1.346 3-3s-1.346-3-3-3H6v2h13a1 1 0 0 1 0 2H7c-1.654 0-3-1.346-3-3s1.346-3 3-3h13c1.103 0 2-.897 2-2V4c0-1.103-.897-2-2-2m0 10H7a4.97 4.97 0 0 0-3 1.002V7c0-1.654 1.346-3 3-3h13z"/></svg>

React

import type { SVGProps } from "react";

export function BxBlanket(props: SVGProps<SVGSVGElement>) {
  return (
    <svg {...props} xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M20 2H7C4.243 2 2 4.243 2 7v10c0 2.757 2.243 5 5 5h12c1.654 0 3-1.346 3-3s-1.346-3-3-3H6v2h13a1 1 0 0 1 0 2H7c-1.654 0-3-1.346-3-3s1.346-3 3-3h13c1.103 0 2-.897 2-2V4c0-1.103-.897-2-2-2m0 10H7a4.97 4.97 0 0 0-3 1.002V7c0-1.654 1.346-3 3-3h13z"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M20 2H7C4.243 2 2 4.243 2 7v10c0 2.757 2.243 5 5 5h12c1.654 0 3-1.346 3-3s-1.346-3-3-3H6v2h13a1 1 0 0 1 0 2H7c-1.654 0-3-1.346-3-3s1.346-3 3-3h13c1.103 0 2-.897 2-2V4c0-1.103-.897-2-2-2m0 10H7a4.97 4.97 0 0 0-3 1.002V7c0-1.654 1.346-3 3-3h13z"/></svg>
</template>

CSS

.icon-blanket {
  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%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M20%202H7C4.243%202%202%204.243%202%207v10c0%202.757%202.243%205%205%205h12c1.654%200%203-1.346%203-3s-1.346-3-3-3H6v2h13a1%201%200%200%201%200%202H7c-1.654%200-3-1.346-3-3s1.346-3%203-3h13c1.103%200%202-.897%202-2V4c0-1.103-.897-2-2-2m0%2010H7a4.97%204.97%200%200%200-3%201.002V7c0-1.654%201.346-3%203-3h13z%22%2F%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%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M20%202H7C4.243%202%202%204.243%202%207v10c0%202.757%202.243%205%205%205h12c1.654%200%203-1.346%203-3s-1.346-3-3-3H6v2h13a1%201%200%200%201%200%202H7c-1.654%200-3-1.346-3-3s1.346-3%203-3h13c1.103%200%202-.897%202-2V4c0-1.103-.897-2-2-2m0%2010H7a4.97%204.97%200%200%200-3%201.002V7c0-1.654%201.346-3%203-3h13z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

Direct links: SVG · download · JSON · https://iconsdb.app/api/v1/icon/bx/blanket.svg?color=%231a73e8&size=48