Windows icon
bx:windows
The Windows icon (bx:windows) is a free SVG icon from the BoxIcons v2 set by Boxicons. It is drawn on a 24 × 24 grid. BoxIcons v2 icons are released under the MIT license, which allows use in personal and commercial projects. Copy it as SVG, JSX, Vue or Svelte code, or download the SVG file.
- Icon set
- BoxIcons v2
- Author
- Boxicons
- License
- MIT
- Size
- 24 × 24
- Tags
- window, bx windows
SVG code
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" 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>How to use the Windows icon
React
import { Icon } from "@iconify/react";
<Icon icon="bx:windows" width="24" />Vue
<script setup>
import { Icon } from "@iconify/vue";
</script>
<template>
<Icon icon="bx:windows" width="24" />
</template>Svelte
<script>
import Icon from "@iconify/svelte";
</script>
<Icon icon="bx:windows" width="24" />Tailwind CSS
<!-- @iconify/tailwind plugin -->
<span class="icon-[bx--windows]"></span>UnoCSS
<!-- @unocss/preset-icons + @iconify-json/bx -->
<div class="i-bx:windows"></div>Web component
<script src="https://code.iconify.design/iconify-icon/2.1.0/iconify-icon.min.js"></script>
<iconify-icon icon="bx:windows"></iconify-icon>HTML image
<img src="https://iconyz.com/api/public/svg/bx/windows.svg" alt="Windows icon" width="24" height="24">Windows icon in other icon sets
Windows icon FAQ
Is the Windows icon free for commercial use?
Yes. BoxIcons v2 icons are released under the MIT license, which allows use in personal and commercial projects.
How do I use the Windows icon in React?
Install @iconify/react and render <Icon icon="bx:windows" />, or use “Copy code” on this page to get a standalone React component.
How do I add the Windows icon to a web page?
Link the SVG file in an image tag: <img src="https://iconyz.com/api/public/svg/bx/windows.svg" alt="Windows icon">, or paste the SVG code inline to style it with CSS.