# brand-windows icon

Brand windows. Gentleface icon, drawn on the 16 px pixel grid. Free, MIT licensed. Page: https://gentleface.com/icons/brand-windows

- Category: Brands
- Use it for: brand windows, windows logo, microsoft windows
- Tags: brand, logo, os
- Component name: BrandWindowsIcon
- Added: 2026-11-21
- Since: version 0.8.0
- npm: `import { BrandWindowsIcon } from '@gentleface/react';` (@gentleface/react 0.8.0)
- Changed: 2026-11-22 (released in 0.8.0)

## Trademark

Windows logo, a trademark of its owner. Built from Wikimedia Commons File:Windows_logo_-_2012.svg (the tilted logo).

Brand icons (brand-*) are trademarks of their respective owners. They are included only to represent those companies, products or services, for example a link to an account or a "sign in with" button. Their inclusion implies no endorsement by, or affiliation with, the owners. The MIT licence covers our drawings only and grants no trademark rights: using a brand icon is subject to that brand's guidelines, which you must follow. To have a mark removed, write to https://gentleface.com/feedback.

## Files

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.

- line-round: https://gentleface.com/svg/line-round/16/brand-windows.svg · PNG https://gentleface.com/png/line-round/16/brand-windows.png · https://gentleface.com/png/line-round/32/brand-windows.png · https://gentleface.com/png/line-round/48/brand-windows.png
- line-soft: https://gentleface.com/svg/line-soft/16/brand-windows.svg · PNG https://gentleface.com/png/line-soft/16/brand-windows.png · https://gentleface.com/png/line-soft/32/brand-windows.png · https://gentleface.com/png/line-soft/48/brand-windows.png
- line-sharp: https://gentleface.com/svg/line-sharp/16/brand-windows.svg · PNG https://gentleface.com/png/line-sharp/16/brand-windows.png · https://gentleface.com/png/line-sharp/32/brand-windows.png · https://gentleface.com/png/line-sharp/48/brand-windows.png
- solid-round: https://gentleface.com/svg/solid-round/16/brand-windows.svg · PNG https://gentleface.com/png/solid-round/16/brand-windows.png · https://gentleface.com/png/solid-round/32/brand-windows.png · https://gentleface.com/png/solid-round/48/brand-windows.png
- solid-soft: https://gentleface.com/svg/solid-soft/16/brand-windows.svg · PNG https://gentleface.com/png/solid-soft/16/brand-windows.png · https://gentleface.com/png/solid-soft/32/brand-windows.png · https://gentleface.com/png/solid-soft/48/brand-windows.png
- solid-sharp: https://gentleface.com/svg/solid-sharp/16/brand-windows.svg · PNG https://gentleface.com/png/solid-sharp/16/brand-windows.png · https://gentleface.com/png/solid-sharp/32/brand-windows.png · https://gentleface.com/png/solid-sharp/48/brand-windows.png

The SVG of every style: https://gentleface.com/icons/brand-windows.json (`svg`).

## Code (line-round)

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. For another style, take its SVG from the JSON and swap the path `d`.

### SVG

```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.977 1L14.977 7.637L7.414 7.697L7.414 2.104L14.977 1ZM6.728 7.707L1.027 7.74L1.021 2.982L6.725 2.205L6.728 7.707ZM1.026 13.064L1.026 8.304L6.723 8.341L6.727 13.847L1.026 13.064ZM7.414 13.933L7.404 8.38L14.979 8.393L14.977 15L7.414 13.933Z"/></svg>
```

### React

```tsx
// Gentleface "brand-windows" (line-round), MIT. https://gentleface.com/icons/brand-windows
import type { SVGProps } from 'react';

export function BrandWindowsIcon(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.977 1L14.977 7.637L7.414 7.697L7.414 2.104L14.977 1ZM6.728 7.707L1.027 7.74L1.021 2.982L6.725 2.205L6.728 7.707ZM1.026 13.064L1.026 8.304L6.723 8.341L6.727 13.847L1.026 13.064ZM7.414 13.933L7.404 8.38L14.979 8.393L14.977 15L7.414 13.933Z" />
    </svg>
  );
}
```

### Vue

```vue
<!-- Gentleface "brand-windows" (line-round), MIT. https://gentleface.com/icons/brand-windows -->
<template>
  <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.977 1L14.977 7.637L7.414 7.697L7.414 2.104L14.977 1ZM6.728 7.707L1.027 7.74L1.021 2.982L6.725 2.205L6.728 7.707ZM1.026 13.064L1.026 8.304L6.723 8.341L6.727 13.847L1.026 13.064ZM7.414 13.933L7.404 8.38L14.979 8.393L14.977 15L7.414 13.933Z" />
  </svg>
</template>
```

### Svelte

```svelte
<!-- Gentleface "brand-windows" (line-round), MIT. https://gentleface.com/icons/brand-windows -->
<script>
  let props = $props();
</script>

<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.977 1L14.977 7.637L7.414 7.697L7.414 2.104L14.977 1ZM6.728 7.707L1.027 7.74L1.021 2.982L6.725 2.205L6.728 7.707ZM1.026 13.064L1.026 8.304L6.723 8.341L6.727 13.847L1.026 13.064ZM7.414 13.933L7.404 8.38L14.979 8.393L14.977 15L7.414 13.933Z" />
</svg>
```

### HTML img

```html
<!-- Gentleface "brand-windows" (line-round), MIT. https://gentleface.com/icons/brand-windows. An <img> can't take currentColor: it draws black. Inline the SVG or use the CSS mask to color it. -->
<img src="https://gentleface.com/svg/line-round/16/brand-windows.svg" width="16" height="16" alt="">
```

### CSS

```css
/* Gentleface "brand-windows" (line-round), MIT. https://gentleface.com/icons/brand-windows. Takes the text color. */
.icon-brand-windows {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M14.977 1L14.977 7.637L7.414 7.697L7.414 2.104L14.977 1ZM6.728 7.707L1.027 7.74L1.021 2.982L6.725 2.205L6.728 7.707ZM1.026 13.064L1.026 8.304L6.723 8.341L6.727 13.847L1.026 13.064ZM7.414 13.933L7.404 8.38L14.979 8.393L14.977 15L7.414 13.933Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M14.977 1L14.977 7.637L7.414 7.697L7.414 2.104L14.977 1ZM6.728 7.707L1.027 7.74L1.021 2.982L6.725 2.205L6.728 7.707ZM1.026 13.064L1.026 8.304L6.723 8.341L6.727 13.847L1.026 13.064ZM7.414 13.933L7.404 8.38L14.979 8.393L14.977 15L7.414 13.933Z'/%3E%3C/svg%3E") center / 16px 16px no-repeat;
}
```

### Data URL

```text
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='currentColor'%3E%3Cpath d='M14.977 1L14.977 7.637L7.414 7.697L7.414 2.104L14.977 1ZM6.728 7.707L1.027 7.74L1.021 2.982L6.725 2.205L6.728 7.707ZM1.026 13.064L1.026 8.304L6.723 8.341L6.727 13.847L1.026 13.064ZM7.414 13.933L7.404 8.38L14.979 8.393L14.977 15L7.414 13.933Z'/%3E%3C/svg%3E
```

### Sprite

```html
<!-- Gentleface "brand-windows" (line-round), MIT. https://gentleface.com/icons/brand-windows
     Every icon of this style in one file: https://gentleface.com/sprite/line-round.svg
     Serve it from your own origin: <use> does not load from another origin. -->
<svg width="16" height="16" aria-hidden="true"><use href="/sprite/line-round.svg#brand-windows"/></svg>
```

### SwiftUI

```swift
// Gentleface "brand-windows" (line-round), MIT. https://gentleface.com/icons/brand-windows
import SwiftUI

struct BrandWindowsIcon: Shape {
    func path(in rect: CGRect) -> Path {
        var p = Path()
        p.move(to: CGPoint(x: 14.977, y: 1))
        p.addLine(to: CGPoint(x: 14.977, y: 7.637))
        p.addLine(to: CGPoint(x: 7.414, y: 7.697))
        p.addLine(to: CGPoint(x: 7.414, y: 2.104))
        p.addLine(to: CGPoint(x: 14.977, y: 1))
        p.closeSubpath()
        p.move(to: CGPoint(x: 6.728, y: 7.707))
        p.addLine(to: CGPoint(x: 1.027, y: 7.74))
        p.addLine(to: CGPoint(x: 1.021, y: 2.982))
        p.addLine(to: CGPoint(x: 6.725, y: 2.205))
        p.addLine(to: CGPoint(x: 6.728, y: 7.707))
        p.closeSubpath()
        p.move(to: CGPoint(x: 1.026, y: 13.064))
        p.addLine(to: CGPoint(x: 1.026, y: 8.304))
        p.addLine(to: CGPoint(x: 6.723, y: 8.341))
        p.addLine(to: CGPoint(x: 6.727, y: 13.847))
        p.addLine(to: CGPoint(x: 1.026, y: 13.064))
        p.closeSubpath()
        p.move(to: CGPoint(x: 7.414, y: 13.933))
        p.addLine(to: CGPoint(x: 7.404, y: 8.38))
        p.addLine(to: CGPoint(x: 14.979, y: 8.393))
        p.addLine(to: CGPoint(x: 14.977, y: 15))
        p.addLine(to: CGPoint(x: 7.414, y: 13.933))
        p.closeSubpath()
        return p.applying(CGAffineTransform(scaleX: rect.width / 16, y: rect.height / 16))
    }
}

// BrandWindowsIcon().frame(width: 16, height: 16) fills with the foreground style. Keep it on whole points to stay crisp.
```

### Compose

```kotlin
// Gentleface "brand-windows" (line-round), MIT. https://gentleface.com/icons/brand-windows
import androidx.compose.ui.graphics.Color
import androidx.compose.ui.graphics.SolidColor
import androidx.compose.ui.graphics.vector.ImageVector
import androidx.compose.ui.graphics.vector.addPathNodes
import androidx.compose.ui.unit.dp

val BrandWindowsIcon: ImageVector by lazy {
    ImageVector.Builder(
        name = "brand-windows", defaultWidth = 16.dp, defaultHeight = 16.dp,
        viewportWidth = 16f, viewportHeight = 16f,
    ).addPath(
        pathData = addPathNodes("M14.977 1L14.977 7.637L7.414 7.697L7.414 2.104L14.977 1ZM6.728 7.707L1.027 7.74L1.021 2.982L6.725 2.205L6.728 7.707ZM1.026 13.064L1.026 8.304L6.723 8.341L6.727 13.847L1.026 13.064ZM7.414 13.933L7.404 8.38L14.979 8.393L14.977 15L7.414 13.933Z"),
        fill = SolidColor(Color.Black),
    ).build()
}

// Icon(BrandWindowsIcon, contentDescription = null) tints it with LocalContentColor.
```

### Android XML

```xml
<!-- res/drawable/ic_brand_windows.xml · Gentleface "brand-windows" (line-round), MIT. https://gentleface.com/icons/brand-windows -->
<vector xmlns:android="http://schemas.android.com/apk/res/android"
    android:width="16dp"
    android:height="16dp"
    android:viewportWidth="16"
    android:viewportHeight="16"
    android:tint="?attr/colorControlNormal">
  <path
      android:fillColor="@android:color/white"
      android:pathData="M14.977 1L14.977 7.637L7.414 7.697L7.414 2.104L14.977 1ZM6.728 7.707L1.027 7.74L1.021 2.982L6.725 2.205L6.728 7.707ZM1.026 13.064L1.026 8.304L6.723 8.341L6.727 13.847L1.026 13.064ZM7.414 13.933L7.404 8.38L14.979 8.393L14.977 15L7.414 13.933Z"/>
</vector>
```

### Flutter

```dart
// Gentleface "brand-windows" (line-round), MIT. https://gentleface.com/icons/brand-windows
import 'package:flutter/widgets.dart';

class BrandWindowsIcon extends StatelessWidget {
  const BrandWindowsIcon({super.key, this.size = 16, this.color});
  final double size;
  final Color? color;

  @override
  Widget build(BuildContext context) => CustomPaint(
        size: Size.square(size),
        painter: _BrandWindowsIconPainter(color ?? IconTheme.of(context).color ?? const Color(0xFF000000)),
      );
}

class _BrandWindowsIconPainter extends CustomPainter {
  _BrandWindowsIconPainter(this.color);
  final Color color;

  @override
  void paint(Canvas canvas, Size size) {
    canvas.scale(size.width / 16, size.height / 16);
    final p = Path()
      ..moveTo(14.977, 1)
      ..lineTo(14.977, 7.637)
      ..lineTo(7.414, 7.697)
      ..lineTo(7.414, 2.104)
      ..lineTo(14.977, 1)
      ..close()
      ..moveTo(6.728, 7.707)
      ..lineTo(1.027, 7.74)
      ..lineTo(1.021, 2.982)
      ..lineTo(6.725, 2.205)
      ..lineTo(6.728, 7.707)
      ..close()
      ..moveTo(1.026, 13.064)
      ..lineTo(1.026, 8.304)
      ..lineTo(6.723, 8.341)
      ..lineTo(6.727, 13.847)
      ..lineTo(1.026, 13.064)
      ..close()
      ..moveTo(7.414, 13.933)
      ..lineTo(7.404, 8.38)
      ..lineTo(14.979, 8.393)
      ..lineTo(14.977, 15)
      ..lineTo(7.414, 13.933)
      ..close();
    canvas.drawPath(p, Paint()..color = color);
  }

  @override
  bool shouldRepaint(_BrandWindowsIconPainter old) => old.color != color;
}
```
