0Views
0Copies

API Reference
Props for <CoinBurstButton />
| Prop | Type | Default | Description |
|---|---|---|---|
| color | string | "#830fff" | The button's fill; its hover fill, glow and the coins' landing shadows are mixed from it. |
| textColor | string | "#ffffff" | The label's color. |
| ringColor | string | "#b98bff" | The thin inner edge, brighter on hover, and the keyboard focus ring. |
| coinLight | string | "#d8bfff" | The coins' brightest tone, at their top-left edge. |
| coinMid | string | "#9b4dff" | The coins' middle tone. |
| coinDark | string | "#4a0f9a" | The coins' darkest tone, at their bottom-right edge. |
| text | string | "Hover me" | The label. |
| font | FontValue | {"fontFamily":"Funnel Sans","fontWeight":500,"fontSize":15} | The label's family, weight and size. The component doesn’t load the font: add it to your app. |
| height | number | 48 | The button's height. |
| paddingX | number | 24 | Space either side of the label. |
| radius | number | 10 | Rounds the corners; past half the height it reads as a pill. |
| burst | number | 12 | Coins minted each time the pointer comes onto the button. |
| coinSize | number | 6 | The smallest coin's radius; each coin is up to 1.5× this. |
| gravity | number | 0.32 | How hard the coins fall; higher drops them sooner and lower. |
| bounce | number | 0.42 | Share of its speed a coin keeps when it lands; 0 stops it dead. |
| floorDistance | number | 70 | How far under the button the coins land. |
| lifetime | number | 2.2 | How long a coin lives; it fades out over its last second. |
| coinMark | boolean | true | The rising line stamped on the coins' face; off leaves a plain ringed coin. |
| href | string | — | Renders the button as a link to this address. |
- Category
- Buttons
- Framework
- React
- Published
- Nov 13, 2026
- Dependencies
- Variants
Coin Burst Button
A call to action that mints coins: every time the pointer comes onto it, a burst of coins pops out of its top edge, spins, arcs through the air with real gravity and bounces on an invisible floor under it before fading. The fill, edge, label, font, size, coin colors and every part of the burst and its physics can be set, and it renders as a link when given an address.