Marble Progress, animated React component
An onboarding checklist that keeps score with marbles: tick a step and a marble of its colour rolls down three ramps into a jar, untick it and that marble pops. When every step is done the jar glows.
- Pro
- Cards
- Spring
Play with it
Move the controls and watch it change. Copy code gives you a snippet with only the props you changed.
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| steps | MarbleStep[] | 5 setup steps | Each step has a label (unique) and a color (6-digit hex) used for its checkbox and marble. |
| autoplay | boolean | false | Ticks the steps one by one, then clears them, until someone clicks a step. Off under reduced motion. |