Burst Button
buttonProA button that fires a burst of emoji on every press, with gravity, spread, power and a springy shake. Particles fly past the button on a click-through overlay.
Introductory price until 31 December 2026. €79 after that.
Preview
Live demo. The theme switches the demo itself.
Code
The code is locked
Burst Button is part of Manniche UI Pro. A key unlocks the source of all 66 effects.
Buy · €49€49 · Introductory price until 31 December 2026. €79 after that.
- One-off payment
- One developer
- Sign in and create your key straight away
- No VAT (§ 19 UStG)
Have a key? Get the code with the CLI or MCP.
The key lives in MANNICHE_PRO_KEY, never in your code or a URL. How to set it up
npx shadcn@latest add @manniche-pro/burst-buttonclaude mcp add --transport http manniche-ui https://mikkelmanniche.dk/api/mcp --header "Authorization: Bearer $MANNICHE_PRO_KEY"Props
BurstButtonProps
| Prop | Type | Default | What it does |
|---|---|---|---|
ref | Ref<HTMLButtonElement> | – | Ref to the real <button>. |
emojis | string[] | ['🎉', '✨', '💖', '🔥', '⭐', '😎'] | Strings that fly out. Emoji or any short text such as +1; picked at random per particle. |
count | number | 26 | Particles per burst (capped at 160, and reduced on narrow screens). |
power | number | 900 | Launch speed in px/s. About 900 reaches 250 px above the button with the default gravity. |
gravity | number | 1800 | Downward pull in px/s^2. Lower is floaty, higher is heavy. |
spread | number | 80 | Width of the launch cone in degrees. 360 sprays in every direction. |
angle | number | 0 | Direction of the cone in degrees: 0 up, 90 right, 180 down, -90 left. |
size | number | 28 | Particle size in px. |
spin | number | 1.2 | Maximum spin in turns per second; 0 stops rotation. |
shake | number | 1 | Strength of the springy shake of the button on each press; 0 turns it off. |
autoBurst | number | – | Fires a burst by itself every this many milliseconds (for demos). 0 or undefined turns it off. Pauses off screen and in hidden tabs, and never fires under reduced motion. |
Also takes every prop from ButtonHTMLAttributes<HTMLButtonElement>.
A11y
Keyboard
Enter and Space click the button and fire the burst.
Screen reader
The particle canvas is aria-hidden and lets clicks through, so the button keeps its own name.
Reduced motion
Under reduced motion a burst is four calm particles that fade up, with no wobble. autoBurst never fires under reduced motion and pauses while the button is off screen.