# XWUIGameSettingsPanel

A categorized game-settings screen with a sidebar of `categories` (default graphics, audio, controls, gameplay, ui) and a content pane that renders the active category's items from the `settings` data map. Each setting's `type` picks its control - a `slider` (with min/max/step and a live value label), a `toggle` (ON/OFF), a `select` (from `options`), or a `keybind` (click then press a key) - and every change updates the item `value` and fires `onChange(id, value)`. When `showDefaults` is on, a Reset Defaults button restores the values captured at construction via `resetDefaults()`.

## Basic Usage

Shows a sidebar of categories with slider, toggle, select, and keybind controls.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: A settings panel with a category sidebar and slider/toggle/select/keybind controls plus a reset-defaults button.
```

## Audio Mixer

A single-category panel narrowed to audio sliders and a subtitle toggle.

```example
file: examples/AudioMixer.ts
html: examples/AudioMixer.html
title: Audio Mixer
description: categories restricted to ["audio"], turning the panel into a focused volume mixer.
```

## Keybind Editor

A controls-only editor with the Reset Defaults button hidden.

```example
file: examples/KeybindEditor.ts
html: examples/KeybindEditor.html
title: Keybind Editor
description: showDefaults disabled on a controls category full of keybind rows for deliberate rebinding.
```

```api
```
