Button Micro-Interaction in Rive: Neon Magic Button

UI Animation

A playful button micro-interaction built in Rive: tap the glowing “oooh weee” capsule and neon beams in pink, yellow and green burst upward and pulse against a purple-to-pink gradient. It’s a retro-futuristic success animation for celebrating completed actions, unlocking premium features and rewarding milestones in apps and games.

Challenges & Objectives

Project Overview

The visual asset features a central rounded capsule containing lowercase text reading “oooh weee” set against an intense purple-to-pink background gradient. Emerging directly from the top of the white capsule is a striking geometric arrangement of vertical neon bands in pink, yellow, green, and white. Two minimal circular accent elements flank the main light beam structure, balancing the top half of the composition.

Challenges

Glow Intensity and Layering: Calibrating the intense neon glow emanating from behind the text capsule and along the vertical light beams to ensure the text remains completely legible and doesn’t get washed out by the brightness.
Geometric Path Masking: Rigging the upward neon beams so they can dynamically extend, pulse, or shift color patterns while appearing perfectly contained by the top boundary of the capsule.
Gradient Smoothness: Preventing color banding and maintaining a flawless, ultra-smooth transition across the deep violet and hot pink background values during high-density display rendering.

Objectives

Establish a dynamic animation hierarchy where the multi-colored beams pulse, react to tap inputs, or cycle light patterns in perfect synchronization with the central text capsule.
Optimize all glowing effects, gradients, and typography layers for lightweight, real-time web and mobile application performance.

Final Outcome

Merging bold geometric light structures with a soft, glowing color palette, the final component offers an exciting, expressive micro-interaction perfect for celebrating successful actions, introducing premium app features, or enhancing gamified milestones.

How it works in your app

The capsule and light beams share one Rive state machine: the beams idle with a soft pulse, then extend and cycle colours when the button is tapped. Masking keeps the beams cleanly attached to the capsule as they grow, and the glow stays readable over the text. Your developers can fire the same celebration from code, for example after a purchase or a completed level, and the .riv file runs on web, Flutter, React Native, iOS and Android.

Want micro-interactions that make your app feel alive? See pricing or get a quote. More buttons: Mascot Continue button, Toggle button animation.