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

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

The same icon in other sets

Use the windows icon

SVG

<svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M16 7H4c-1.103 0-2 .897-2 2v10c0 1.103.897 2 2 2h12c1.103 0 2-.897 2-2V9c0-1.103-.897-2-2-2M4 19v-8h12V9l.002 10z"/><path fill="currentColor" d="M22 5c0-1.103-.897-2-2-2H7c-1.103 0-2 .897-2 2h13.001c1.101 0 1.996.895 1.999 1.994L20.002 15H20v2c1.103 0 2-.897 2-2V8.007L22.001 8V6L22 5.99z"/></svg>

React

import type { SVGProps } from "react";

export function BxWindows(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="M16 7H4c-1.103 0-2 .897-2 2v10c0 1.103.897 2 2 2h12c1.103 0 2-.897 2-2V9c0-1.103-.897-2-2-2M4 19v-8h12V9l.002 10z"/><path fill="currentColor" d="M22 5c0-1.103-.897-2-2-2H7c-1.103 0-2 .897-2 2h13.001c1.101 0 1.996.895 1.999 1.994L20.002 15H20v2c1.103 0 2-.897 2-2V8.007L22.001 8V6L22 5.99z"/></svg>
  );
}

Vue

<template>
  <svg xmlns="http://www.w3.org/2000/svg" width="1em" height="1em" viewBox="0 0 24 24"><path fill="currentColor" d="M16 7H4c-1.103 0-2 .897-2 2v10c0 1.103.897 2 2 2h12c1.103 0 2-.897 2-2V9c0-1.103-.897-2-2-2M4 19v-8h12V9l.002 10z"/><path fill="currentColor" d="M22 5c0-1.103-.897-2-2-2H7c-1.103 0-2 .897-2 2h13.001c1.101 0 1.996.895 1.999 1.994L20.002 15H20v2c1.103 0 2-.897 2-2V8.007L22.001 8V6L22 5.99z"/></svg>
</template>

CSS

.icon-windows {
  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%22M16%207H4c-1.103%200-2%20.897-2%202v10c0%201.103.897%202%202%202h12c1.103%200%202-.897%202-2V9c0-1.103-.897-2-2-2M4%2019v-8h12V9l.002%2010z%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M22%205c0-1.103-.897-2-2-2H7c-1.103%200-2%20.897-2%202h13.001c1.101%200%201.996.895%201.999%201.994L20.002%2015H20v2c1.103%200%202-.897%202-2V8.007L22.001%208V6L22%205.99z%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%22M16%207H4c-1.103%200-2%20.897-2%202v10c0%201.103.897%202%202%202h12c1.103%200%202-.897%202-2V9c0-1.103-.897-2-2-2M4%2019v-8h12V9l.002%2010z%22%2F%3E%3Cpath%20fill%3D%22currentColor%22%20d%3D%22M22%205c0-1.103-.897-2-2-2H7c-1.103%200-2%20.897-2%202h13.001c1.101%200%201.996.895%201.999%201.994L20.002%2015H20v2c1.103%200%202-.897%202-2V8.007L22.001%208V6L22%205.99z%22%2F%3E%3C%2Fsvg%3E") no-repeat center / contain;
}

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