Now In Code
Get access

Swipe-to-Approve Notification Sheet

A paper plane flies along a Bezier arc into a bell, which squashes and shows a badge. Tapping it expands a frosted proposal sheet from the top-right corner. An AI review sweeps a dot grid; sliding to the end shows Approved and the sheet shrinks back.

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

Agent prompt

Add the Now In Code component "swipe-to-approve-notification-sheet" to this project.

The full source is attached at the end of this prompt. Put the files under components/swipe-to-approve-notification-sheet/, 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
23 Oct 2026
License
Unlimited commercial projects
Original design
@desdivj 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 client-proposal approval flow on a light home screen. A paper plane flies out from the top island along a curve into a bell, the bell squashes, a pink ring ripples out and a red badge pops. Pressing the bell expands it into a frosted sheet anchored at the top right, while the page behind blurs and dims. Inside, a document panel goes dark, a review line reads Reviewing, and a dot grid pulses outward from the document. A red check then swells with scattered specks and the status changes to all checks passed. A slider unlocks, and dragging its handle to the end shows an orange check and Approved. The sheet shrinks back into the bell, which becomes a green check, and an approved row is inserted into the home list.

How it's built

A shared JavaScript core holds the event table and curves, and a pure function returns the full screen state for any time and any interaction, so a live mode can also respond to taps and drags. The component uses react-native-svg for the plane, check and dots, expo-blur for the frosted sheet and the dimmed page, and a font package from Expo Google Fonts. The sheet expansion is an exponential approach on both width and height from the bell's position, the slider fill follows a cubic-bezier, and the dot grid is lit by a moving band whose distance is measured on an ellipse.

Good for

  • Approval, signature or sign-off flows that end with a single deliberate gesture
  • Notification entry points that expand from an icon into a sheet
  • Showing an automated review or scan before asking the user to confirm

Dependencies

react-native-svgexpo-blur@expo-google-fonts/instrument-sansreact-native

Tags

ButtonCardWork and CollaborationCrossfadeDragDynamic IslandFintech and WalletGlowGradientHome ScreenIconLight ModeLiquid GlassLoading AnimationLoading StateMinimalModal DialogMorphingNotificationParticlesScreen TransitionSliderSpring PhysicsStaggered EntranceState TransitionSwipe Gesture

Related