Now In Code
Get access

Gooey Metaball Product Grid

Products sit in soft gray blobs that drift and fuse with their neighbors; hovering inflates one and squeezes the rest, and opening a product grows its photo out of halftone dots. A shared state machine drives Skia metaball rendering.

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

Agent prompt

Add the Now In Code component "gooey-metaball-product-grid" to this project.

The full source is attached at the end of this prompt. Put the files under components/gooey-metaball-product-grid/, 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
Web
Requires
Expo SDK 54+
Access
Pro
Updated
24 Nov 2026
License
Unlimited commercial projects
Original design
@iamerrormade 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 desktop-style shop made entirely of gooey bubbles. It opens with a cloud of gray bubbles growing from the center and then collapsing to dots before a staggered grid of product bubbles appears. The bubbles drift and softly collide. Hovering one grows it and squeezes its neighbors, and the product name resolves from blobs of ink into letters. Clicking a product flies it to a thumbnail at the top, shrinks the rest, and reveals the model photo as growing halftone dots that fuse into the full image. The product page has a scrolling photo column, a size chain with a black droplet that flows between choices, an info panel that grows from merged circles, and a Back control that reverses the transition. The preview offers an auto demo.

How it's built

A large shared core holds the state machine, soft-body physics, transition timelines and a display list. The component steps the core each frame, and a small renderer records the list into a Skia Picture. The gooey look is the classic blur-and-threshold trick, built as a saveLayer with a blur image filter followed by an alpha-threshold color matrix, with shapes drawn in one flat color. Halftone dots come from a dedicated module. Touch maps to hover, vertical drag scrolls and a release without drag is a click. The design is laid out at 1280 by 720 and scaled to the width prop.

Good for

  • An experimental storefront or portfolio grid with strong brand motion
  • Loading and transition scenes where shapes merge and split
  • A reference for blur-and-threshold metaballs in Skia

Dependencies

@shopify/react-native-skiareact-native

Tags

ButtonChipCursor FollowE-commerceFly In / Fly OutGooey EffectHome ScreenLight ModeLoading StateMinimalPhysics SimulationPickerPricingRevealScreen TransitionScroll-DrivenStaggered EntranceState TransitionText Animation

Related