Components
Execution steps
The work Aurora is doing, struck as points of light down the beam. It replaces a spinner: instead of asking you to wait, it shows you what is being done on your behalf.
Overview
- Slot held
- Car at 11.10
- Board told you leave at 11
Anatomy
- Slot held
- Car at 11.10
- Board told you leave at 11
- 1PointA 5px dot in the aurora gradient, centred on the beam. It scales in with each step.
--au-light-lo → --au-light-hi - 2StepPast tense, shortest first: “Slot held”, “Car at 11.10”. Each one is a thing that is now true.
--au-text-tertiary
Writing
- Past tense, as facts. “Slot held”, not “Holding slot…”. Each step lands when it is true.
- Three steps. Enough to show care, few enough to finish in under three seconds.
- End with the person. The last step is usually someone told: “Sarah sent the time”.
Props
| Prop | Type | Default | Description |
|---|---|---|---|
| steps* | string[] | — | What Aurora is doing, in past tense. |
| interval | number | 460 | Milliseconds between steps. |
| static | boolean | false | Show all steps at once, without the strike-in. |
Tokens
| Token | Value | Used for |
|---|---|---|
| --au-light-lo | → aurora.mint · #7FD9C0 | Start of the aurora. |
| --au-light-hi | → aurora.violet · #A78BE0 | End of the aurora. |
| --au-text-tertiary | → stone.400 · #8B8981 | Details and metadata. 5.7:1. |
| --au-ease-out | cubic-bezier(0.25, 1, 0.5, 1) | A long, gentle arrival. Entrances and reveals. |
Code
<Gap time="11.00" state="working">
<ExecutionSteps steps={['Slot held', 'Car at 11.10', 'Board told you leave at 11']} />
</Gap>