Like Burst
Tapping the heart pops it with dots and a ring
This effect uses fixed demo content, so custom text isn’t applied.
Hannah's Motion Library
Web motion effects × AI prompts
AI prompt
When the “Like” button is tapped, the outlined heart instantly fills and springs up from small to large, while 8 small dots shoot outward around it and a ring expands and vanishes, and the number next to it goes up by 1; tapping again un-likes it, the heart goes back to an outline and the number goes down by 1. About 0.5 s, springy feedback. (CSS: toggle an .on class; the heart uses scale bounce keyframes, the dots fly out with rotate(var(--r)) translateY while shrinking and fading, the ring uses scale + opacity; remove the class and force a reflow before replaying)
When you copy it, a note to “match the site’s existing theme colors” is added automatically, so you don’t need to specify colors.
How to use it
- Tap “Copy AI prompt”.
- Paste it into an AI such as ChatGPT or Claude, and tell it which element on your site to apply it to (for example, the homepage headline or a buy button).
- The AI writes code that matches your site’s colors. Paste it into your project, then fine-tune the timing and distances.
More button effects
346 more motion effectsText, buttons, cards, backgrounds, cursors… preview them all and copy AI prompts
Browse all effects →