# XWUIGameClassSelector

Class/job picker that lays selectable cards out in a configurable grid (3 columns by default), each card showing an icon, name, optional description, and a `key: value` stat summary. Clicking a card marks it selected and fires `onSelect(id)`. Use it on the "choose your class" step of character creation or any role-picker screen.

## Basic Usage

Mounts the selector with a 3-column grid and descriptions plus stats enabled, ready for a `classes` array.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: A class picker rendering a card grid with icons, names, descriptions, and stat summaries.
```

## Compact Roster

A six-class picker packed into a four-column grid with descriptions hidden, so each card shows only its icon, name, and stat summary.

```example
file: examples/CompactRoster.ts
html: examples/CompactRoster.html
title: Compact Roster
description: A dense four-column grid with showDescription off, surfacing icon, name, and stats for a large roster.
```

## Dual Path Choice

A two-option allegiance fork in two columns with stat summaries hidden, letting the lore descriptions drive the decision.

```example
file: examples/DualPathChoice.ts
html: examples/DualPathChoice.html
title: Dual Path Choice
description: A narrative two-column pick with showStats off, leading with icon, name, and a lore description.
```

```api
```
