Heat Field, animated React component
A field of grey dots that melts into a heat map under the cursor, swelling and blending from yellow through red to violet. Press and hold to leave heat behind that slowly cools.
- Pro
- Background Effects
- Hover
Play with it
Move the controls and watch it change. Copy code gives you a snippet with only the props you changed.
Move across the dots. Press and hold to leave heat behind.
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| radius | number | 46 | Spread of the heat around the pointer in px; held heat spreads a little wider. |
| hint | string | "Move across the dots. Press and hold to leave heat behind." | Line under the field. Pass an empty string to hide it. |
| autoplay | boolean | false | An invisible hand wanders across the field, now and then pressing, until someone points at it. |