# XWUIGameCharacterSheet

Tabbed character stats panel with a name/level header, an XP progress bar, and inline tab switching (default tabs: `stats`, `skills`, `equipment`). The `stats` tab auto-renders Attributes, Derived Stats, and Resistances (shown as percentages) from the supplied data maps. Use it as the player's main character overview; drive live updates through `updateData()` and react to navigation with `onTabChange()`.

## Basic Usage

Mounts the sheet with the default three tabs, level display, and XP bar shown.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: A character sheet with the default Stats/Skills/Equipment tabs, level header, and XP bar.
```

## Warrior Build

A fully statted melee Warrior - high STR/CON attributes, blunt physical derived stats, and plate-armor resistances rendered on the Stats tab.

```example
file: examples/WarriorBuild.ts
html: examples/WarriorBuild.html
title: Warrior Build
description: A level-24 melee Warrior with STR/CON attributes, armor/block derived stats, and physical resistances.
```

## Mage Build

A caster archetype with INT/WIS attributes, spell-power and mana derived stats, and elemental resistances (including a negative frost vulnerability).

```example
file: examples/MageBuild.ts
html: examples/MageBuild.html
title: Mage Build
description: A level-31 Arcanist whose Stats tab swaps the melee profile for spell power, mana, and elemental resistances.
```

## Level Up

A button that calls `updateData()` to raise the character's level, attributes, derived stats, and XP bar live after construction.

```example
file: examples/LevelUp.ts
html: examples/LevelUp.html
title: Level Up
description: A Level Up button that drives updateData() to grow stats and reset the XP bar without rebuilding the sheet.
```

```api
```
