Now In Code
Get access

Dot QR Wavefront Color Ripple

Tapping the center logo presses it down and spins it 720 degrees while a wavefront moves outward at 43 modules per second. Each dot shrinks, vanishes briefly and returns in the new color before fading to black. Themes cycle through four palettes.

Inspired by a design by @spottedinprod on XRebuilt from scratch by Now In Code

Agent prompt

Add the Now In Code component "dot-qr-wavefront-color-ripple" to this project.

The full source is attached at the end of this prompt. Put the files under components/dot-qr-wavefront-color-ripple/, install the listed dependencies with `npx expo install`, and render it on a route I can open.

Keep the timing and easing values documented in the source comments. Replace the sample copy and artwork with content from my app, or leave placeholders and list what I still need to supply.

=== Source files are attached here for paid plans ===
Pro piece. The prompt includes the full source.Get access

Details

Platforms
iOS, Android
Requires
Expo SDK 54+
Access
Pro
Updated
26 Oct 2026
License
Unlimited commercial projects
Original design
@spottedinprod on X

Are you the designer? Ask us to change or remove this.

CLI and MCP server Coming soon

Add pieces from the terminal or let your agent fetch them. Until then, Copy prompt does the same job. Docs

What it does

A payment-style card on a dark background showing a name, a QR code made of round dots, and a footer line about supported networks. Tapping the logo at the centre sends a coloured wave across the dot grid. As the wavefront reaches each dot, the dot shrinks away, regrows, flashes a bright colour and fades back to black. The three finder rings recolour on a delay and the logo spins on its vertical axis with a slight press-down. Successive taps cycle through green, orange and blue palettes. A later state turns the card into a sunset gradient, where regions of dots brighten, pop back in and go dark in a drifting pattern that repeats.

How it's built

A pure JavaScript function takes the event history and a time and returns every dot, ring and logo shape for that frame, so any moment can be reproduced without stored animation state. The React Native component draws the result with react-native-svg and loads its font with expo-font. The wavefront is a distance-from-centre delay applied per dot. The logo is not a 3D transform: the core projects a short extruded shape with perspective and joins the visible faces into one path. The sunset phase is a list of timed regional events generated procedurally on a repeating cycle.

Good for

  • Receive-money or share-profile screens built around a QR code
  • Success or confirmation moments that need a spreading colour change
  • Dot-grid backgrounds and loaders that react to a touch point

Dependencies

expo-fontreact-native-svgreact-native

Tags

3D RotationCardDark ModeFintech and WalletGradientIconMorphingNumeric DisplayPress FeedbackRippleSpring Physics

Related