Mood Wheel, animated React component
Feelings laid along the rim of a wheel that you drag, scroll or arrow through. The word at the centre gets bracketed, fills the sentence below and the orb beside it melts into that mood's colours.
- Pro
- Inputs & Controls
- Spring
- Glow
Play with it
Move the controls and watch it change. Copy code gives you a snippet with only the props you changed.
Today I feelhopeful.
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| moods | Mood[] | DEFAULT_MOODS | Words on the wheel, each as { word, a, b } where a is the main orb colour and b the light one. Ten moods from Calm to Grateful by default. |
| autoplay | boolean | false | Spins to a random mood every 2 s until someone drags, scrolls or uses the keys. |