# XWUIGameCooldownIndicator

An ability-icon overlay that shows remaining cooldown as a sweeping mask over the `icon`, driven by `cooldownPct` (0-1, where 1 is fully on cooldown). The `style` prop chooses a `radial` conic-gradient sweep or a `linear` wipe; the icon dims while on cooldown and flashes the moment it becomes ready. Set `size` (px) and `sweepColor` to taste, and feed live progress through `updateData({ cooldownPct })` each frame.

## Basic Usage

An ability icon with a radial cooldown sweep that dims the icon and flashes when ready.

```example
file: examples/BasicUsage.ts
html: examples/BasicUsage.html
title: Basic Usage
description: An ability icon with a radial cooldown sweep that dims the icon and flashes when ready.
```

## Ability Ready

An ability fully off cooldown - bright, ready-highlighted icon with no sweep.

```example
file: examples/AbilityReady.ts
title: Ability Ready
description: cooldownPct 0 with ready true clears the sweep and shows the ready highlight.
```

## Linear Wipe

A linear-style cooldown with a custom sweep color, advanced live via updateData().

```example
file: examples/LinearWipe.ts
title: Linear Wipe
description: A linear wipe with a custom cyan sweepColor, ticked down through updateData().
```

```api
```
