Now In Code
Get access

Weighted Neon Bubble Cluster

Thirteen translucent neon bubbles pack by weight around a dark red time dial, each with a line icon and lens highlight. They drift, ripple on tap and shove neighbors on drag; a Social / Personal switch repacks them with new weights.

Inspired by a design posted on PinterestRebuilt from scratch by Now In Code

Agent prompt

Add the Now In Code component "weighted-neon-bubble-cluster" to this project.

The full source is attached at the end of this prompt. Put the files under components/weighted-neon-bubble-cluster/, 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
18 Nov 2026
License
Unlimited commercial projects
Original design
Pinterest

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 dark phone screen holding thirteen translucent glowing bubbles in purple, green, amber, orange and red, where bubble size stands for weight. They pack tightly around a dark red dial in the middle that shows a time range. A Social and Personal segmented switch sits at the top with a location button and an avatar with a star badge, and a date, a large white round button and two corner buttons sit below. The bubbles drift slowly and collide softly. Tapping one selects it with a pulse, a ripple and a highlight, dragging pushes the neighbours aside, and switching to Personal slides the pill and resizes the bubbles to a second set of weights before they repack.

How it's built

The screen is drawn in a Skia canvas. Glow, inner light, rim highlights and the lens-like lower edge of each bubble come from radial gradients and blurred additive layers, with no source bitmaps. A shared JavaScript core runs the bubble physics as position-based collision relaxation with a static obstacle for the dial and screen-edge limits, and spring transitions for radius changes. The loop runs on requestAnimationFrame, and PanResponder handles taps and drags. Icons are bundled as vector data.

Good for

  • A habit or factor picker where area encodes importance
  • An onboarding step that asks the user to choose interests from a weighted cluster
  • A dark dashboard header that switches between two data views

Dependencies

@shopify/react-native-skiareact-native

Tags

AvatarButtonDark ModeDragGlowHealth and FitnessHome ScreenIconNeon TechPhysics SimulationColorful and PlayfulProductivity and HabitsRippleSocialSpring PhysicsState TransitionToggle Switch

Related