Now In Code
Get access

Frosted Squircle Tap-to-Cycle Status Card

A superellipse glass card with a warm pink edge glow fading to a dark brown center, a breathing dot on its label, a glass sunrise icon, a large serif state line and a time pill. Tapping cross-fades through four states. Shared HTML and React Native core.

Inspired by a design posted on PinterestRebuilt from scratch by Now In Code

Agent prompt

Add the Now In Code component "frosted-squircle-tap-cycle-status-card" to this project.

The full source is attached at the end of this prompt. Put the files under components/frosted-squircle-tap-cycle-status-card/, 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
16 Nov 2026
License
Unlimited commercial projects
Original design
Pinterest

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 frosted glass card with a superellipse outline, so nearly the whole edge is curved. A warm pink rim of light runs around the border and fades toward a dark brown center. At the top a small white dot has a soft glow that slowly breathes beside a small-caps label. In the middle a rounded glass square holds a thin line icon, below it a large serif headline names a symptom, and at the bottom a glass pill shows when context was added. Tapping the card cycles through four symptoms. The title, icon and time pill cross-fade, and the card shrinks slightly while pressed. A soft dark stage sits behind it.

How it's built

A shared JavaScript core builds a display list for the card, with the color field expressed as an edge band, a vertical base tone and eight Gaussian blobs fitted to sample points. The React Native component draws it with react-native-svg and gets the superellipse as a path. A lookup of text widths positions labels, and PanResponder handles press and tap. Transitions and the breathing glow run on a requestAnimationFrame loop. There are no bitmaps in the card or stage.

Good for

  • A check-in or mood logging card in a wellbeing or journaling app
  • A status card that cycles through a small set of states on tap
  • A reference for a superellipse card outline with a glowing rim in SVG

Dependencies

react-native-svgreact-native

Tags

CardCrossfadeGlowGradientHealth and FitnessJournaling and WritingLiquid GlassPress FeedbackSoft and CalmState Transition

Related