Into the swirl
- The effect layer is aria-hidden and ignores pointer events; only children are exposed.
- Spinning spirals can cause vestibular discomfort: keep `speed` slow and offer a pause control.
- Pauses offscreen; `paused` stops it on demand (wire it to a visible control if it runs behind reading content).
- prefers-reduced-motion: reduce (or data-rad-fx-motion="reduce" on an ancestor) stops the spin.
| Prop | Type | Default | Description |
|---|---|---|---|
colors | [string, string] | violet, cyan | Spiral colours. |
speed | number | 30 | Seconds per turn. Keep it slow. |
paused | boolean | false | Stop the animation. It also pauses offscreen. |
...props | ComponentProps<'div'> | — | Passed to the root div; children render above. |