Now In Code
Get access

Stories with Soft Radial Reveal

A rounded card shows three photos with segmented progress bars advancing every 3 seconds. Tapping a side sweeps the next or previous image in from a feathered circle while the title blurs out and the new one focuses. MaskedView with SVG on React Native.

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

Agent prompt

Add the Now In Code component "stories-with-soft-radial-reveal" to this project.

The full source is attached at the end of this prompt. Put the files under components/stories-with-soft-radial-reveal/, 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, Web
Requires
Expo SDK 54+
Access
Pro
Updated
20 Nov 2026
License
Unlimited commercial projects
Original design
@cabralorenzo 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 small rounded story card with three full-bleed images, a segmented progress bar across the top, a day label chip and a two-line caption near the bottom. Each story runs for a few seconds, filling its segment, and then advances by itself. Tapping the left side goes back and tapping the right side goes forward. The next image arrives through a circular reveal with a soft edge, starting from a point beyond the card's side, and sweeps across to cover the card. The caption blurs out, and the new one resolves from a blur just before the image finishes.

How it's built

A pure function in a shared JavaScript core derives the current story, progress, reveal parameters and caption state from the list of tap events and the clock. The reveal is a MaskedView whose mask is an SVG radial gradient, with inner radius, outer radius and a floor opacity taken from the core. The soft bottom blur is three stacked MaskedView and LinearGradient layers over a BlurView. The caption blur crossfades a sharp Text with a ghost Text that has only a text shadow. A requestAnimationFrame loop advances time, and the three photos are generated images.

Good for

  • Story or highlight viewers for social, travel or product tour content
  • Any image carousel that wants a soft circular wipe between slides
  • Cards with a legible caption over photography using progressive blur

Dependencies

@react-native-masked-view/masked-viewexpo-blurexpo-linear-gradientreact-native-svgreact-native

Tags

Blur TransitionCardCarouselCrossfadeProgress BarRevealSocialText Animation

Related