# Flywheel

External component: "Built to get stronger over time". A wheel that turns through the stages while the copy beside it changes. Home page.

## Fields & Schema

| Field | Type | Required | Notes |
|-------|------|----------|-------|
| `externalComponentType` | Symbol | Yes | Must be `"Flywheel"` |
| `heading` | Symbol | No | The line above the wheel. |
| `additionalCopy` | Rich text | No | Footnotes under the section. |
| `data.asOf` | string | No | The whole line printed under the stage indicator, for example `Data as of 06/30/2026`. No line when absent. |
| `data.stages` | array | Yes | Two or more for a wheel. One stage renders the copy with no wheel controls. |

Each stage:

| Key | Notes |
|-----|-------|
| `title` | Required. A stage with no title is dropped. Shown beside the wheel node and as the stage heading. |
| `index` | Optional. The count line, for example `01 / 05`. Derived from position when absent. |
| `figure`, `figureLabel` | One headline figure and its label. |
| `stats` | Optional list of `{ "figure", "figureLabel" }`. Use it for two headline figures. When present it replaces `figure` and `figureLabel`. A figure with no digit is set smaller, as a phrase. |
| `body` | The paragraph. Plain text. |
| `linkLabel`, `href` | Optional "Learn more" link. Both are needed. A stage with both shows its own link. A stage with neither keeps the link from a stage that has one, so the link stays while the wheel turns. |

## Usage

```bash
cms-edit set @ref data --json '{"asOf":"Data as of 06/30/2026","stages":[{"index":"01 / 05","title":"Ownership culture","figure":"100%","figureLabel":"employee-owned","body":"…","linkLabel":"Learn more about Eagle","href":"/about/"}]}'
```

Edit the draft. Do not publish until Eagle has looked at staging.

## Behaviour

The wheel advances every 7 seconds. It pauses on hover, on keyboard focus, and when scrolled off screen. Arrow keys and the segment buttons move between stages. With reduced motion it does not advance on its own.
