# XWUIWindowControls

Window chrome - minimize / maximize / close - mirroring OS title-bar controls. For custom app shells, Electron-style UIs, PWA title bars.

## Basic Usage

Default neutral minimize/maximize/close trio.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: Default neutral minimize/maximize/close trio.
```

## Platforms

windows · mac · linux · neutral styles side by side.

```example
file: examples/Platforms.ts
html: examples/Platforms.html
title: Platforms
description: windows · mac · linux · neutral styles side by side.
```

## Maximized State

`maximized: true` swaps the maximize icon to restore.

```example
file: examples/MaximizedState.ts
html: examples/MaximizedState.html
title: Maximized State
description: `maximized: true` swaps the maximize icon to restore.
```

## Close Only

Single close button for modal dismiss.

```example
file: examples/CloseOnly.ts
html: examples/CloseOnly.html
title: Close Only
description: Single close button for modal dismiss.
```

```api
```
