Now In Code
Get access

Confirmation Sheets with Frosted Glass Icons

Inset white bottom sheets hold a pink glass envelope or a red glass trash can, a short message and buttons. The icons are drawn procedurally with background blur and shape clipping, and sheets spring in. CanvasKit on web, Skia on React Native.

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

Agent prompt

Add the Now In Code component "confirmation-sheets-with-frosted-glass-icons" to this project.

The full source is attached at the end of this prompt. Put the files under components/confirmation-sheets-with-frosted-glass-icons/, 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
4 Nov 2026
License
Unlimited commercial projects
Original design
@handhelddesign 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 white confirmation sheet inset from the screen edges, with large rounded corners, in two variants. The email variant shows a pink frosted-glass envelope, a title, two lines of gray text with a pink link, and a wide black button. The delete variant shows a red frosted-glass trash can, a title and body, and a red delete button beside a light gray cancel button. The sheet springs up from the bottom, buttons shrink and darken while pressed, and tapping one drops the sheet away. The web preview can replay the entrance and show both variants side by side.

How it's built

The glass icons are drawn with Skia's imperative API. Each icon is a solid gradient body plus a front piece, such as the envelope flap or the can lid, rendered through a saveLayer that starts from the blurred backdrop. The area outside the shape is cleared, and a white lift, a tint and an inner edge glow are layered on top, with a colored drop glow below. The icon is recorded once into a Skia picture and shown in a canvas, while text and buttons are ordinary Text and Pressable views. Typefaces load through expo-font, and a variant prop picks the layout table.

Good for

  • Confirm-email and delete-account prompts at the end of a flow
  • Any bottom sheet that benefits from a single glossy illustrative icon
  • Destructive-action dialogs that pair a red primary button with a quiet cancel

Dependencies

@shopify/react-native-skiaexpo-fontreact-native

Tags

Bottom SheetButtonGlowIconLight ModeLiquid GlassMinimalModal DialogPress FeedbackSpring Physics

Related