Now In Code
Get access

What's New Sheet with Embedded Phone Preview

A light sheet floats over a dimmed home screen with a title, a mini phone showing the redesigned home that fades into the sheet, and a Continue pill. The sheet springs up, dims on press and re-opens on tap. SVG on React Native.

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

Agent prompt

Add the Now In Code component "whats-new-sheet-with-embedded-phone" to this project.

The full source is attached at the end of this prompt. Put the files under components/whats-new-sheet-with-embedded-phone/, 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
2 Nov 2026
License
Unlimited commercial projects
Original design
@smmd999a 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 floating announcement sheet laid over a dimmed health-tracking home screen. It has a grab handle, a title, a two-line subtitle and, in the middle, a small phone that shows the redesigned home screen with a row of metric circles and a two-line chart. The lower part of that mini phone fades into the sheet color, and a full-width green Continue button sits at the bottom behind a lighter pill. The sheet springs up on open. Holding the button shrinks and darkens it, and releasing slides the sheet away. Tapping the screen brings it back.

How it's built

The mini phone is not an image. The same home-screen display list is drawn twice, once as the dimmed background and once scaled down and clipped inside the sheet, so both stay in sync. A shared JavaScript core holds the geometry, the fitted background blobs, the chart curves and a pure frame function of time, which makes any moment reproducible. The component draws shapes with react-native-svg and text as absolutely positioned views, advanced by a requestAnimationFrame loop. The sheet uses a critically damped spring, and expo-font loads static font instances.

Good for

  • A what's-new or feature announcement shown after an app update
  • Onboarding modals that preview a redesigned screen in miniature
  • Sheets that need a single prominent confirm button

Dependencies

react-native-svgexpo-fontreact-native

Tags

Bottom SheetButtonChartCrossfadeExpand and CollapseGradientHealth and FitnessHome ScreenIconLight ModeLiquid GlassModal DialogNotificationPress FeedbackProductivity and HabitsSpring Physics

Related