Money Goo, animated React component
A peer-to-peer payment you drag out of your avatar: a liquid neck stretches, thins and snaps, and dropping the amount on a friend pours it in while both balances roll.
- Pro
- Motion Effects
- Spring
Play with it
Move the controls and watch it change. Copy code gives you a snippet with only the props you changed.
You$248
MKMaya$112
Props
| Prop | Type | Default | What it does |
|---|---|---|---|
| amount | number | 40 | Amount carried by the draggable blob on each send. |
| from | MoneyGooPerson | { name: "You", initials: "ME", balance: 248 } | Sender: name, initials and starting balance. |
| to | MoneyGooPerson | { name: "Maya", initials: "MK", balance: 112 } | Recipient: name, initials shown in the avatar, and starting balance. |
| accent | string | "#0071e3" | Colour of the goo, the blob and the drop-target ring. |
| autoplay | boolean | false | Sends money by itself on a loop until someone drags. |