Now In Code
Get access

Record Sleeve Expand with Spinning Disc

Tapping a sleeve in a four-column wall flies its cover to a detail page as a shared element and blurs the wall. Tapping again slides out a vinyl spinning at 33⅓ rpm, and swiping flips the sleeve 180 degrees to side B. Covers are SVG; expo-blur on React Native.

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

Agent prompt

Add the Now In Code component "record-sleeve-expand-with-spinning-disc" to this project.

The full source is attached at the end of this prompt. Put the files under components/record-sleeve-expand-with-spinning-disc/, 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
3 Nov 2026
License
Unlimited commercial projects
Original design
@GiulioAmato 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 music collection grid of square covers, with one tap taking the user to a detail view. The tapped cover lifts and tilts, then flies to a large position while the grid behind it blurs and whitens and the track list fades in. Tapping the sleeve slides a black vinyl disc out of it to the right. The sleeve shifts left, the pair shrinks, and the disc begins spinning at a constant record-player speed. The sleeve has a die-cut hole, so the disc, or the page behind it, shows through. Tapping again slides the disc back in. A flip turns the sleeve half a turn to its back, which carries the same art and shows the other side's label through the hole. The close button flips the cover back as it flies to its grid slot and springs into place.

How it's built

A shared JavaScript core outputs the geometry, transforms and layer opacities for the current state or frozen time. The sleeve and disc are SVG strings produced by the core and rendered with react-native-svg, with the hole cut using an even-odd clip so the disc sits under the sleeve and shows through naturally. The flip is a single rotation around the vertical axis with no preserve-3d, and past ninety degrees the artwork is mirrored back and the label swaps to the other side. Blur on the grid uses expo-blur, and the top fade band is a blur view with a gradient because React Native has no mask-image. The disc settles to a whole turn when it is put back.

Good for

  • Music, podcast or media libraries that open an item from a grid
  • Product galleries where a package or cover opens to reveal what is inside
  • A shared-element expand with a flip, usable for cards, albums or collectibles

Dependencies

expo-blurreact-native-svgreact-native

Tags

3D RotationAvatarBlur TransitionCardExpand and CollapseFly In / Fly OutIconLight ModeListMedia PlayerMinimalMorphingMusic and AudioNavigation BarRotationScreen TransitionStaggered EntranceState TransitionTab Bar

Related