Now In Code
Get access

Four-Screen Workout Session Flow

Four dark screens: a Push Day overview with progress, a set page with weight and reps steppers, a rest-timer sheet with a tick ring over a blurred backdrop, and a completion page with a trophy badge. Demo plays until tapped. react-native-svg, expo-blur.

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

Agent prompt

Add the Now In Code component "four-screen-workout-session-flow" to this project.

The full source is attached at the end of this prompt. Put the files under components/four-screen-workout-session-flow/, 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
25 Sep 2026
License
Unlimited commercial projects
Original design
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 workout app flow in four screens, shown as an automatic demo that can also be frozen on one screen. The overview has summary tiles, a progress card and an exercise list with avatars. Starting a session moves to a set screen with a timer, a counter and a primary button. Completing a set moves to a rest screen with a countdown that ends by itself or can be skipped, and then to a done screen with a trophy badge, a record sticker and a floating row of ghosted icons. A final step returns to the overview. Screens push horizontally with a transition, and numbers roll.

How it's built

A shared frame module holds the layout, the state machine and the actions, such as resume, complete set and skip rest, plus the transition progress between screens. The React Native component renders the screens with views, react-native-svg for icons and art, Image for photos and expo-blur for frosted areas. A requestAnimationFrame loop drives the automatic demo from a table of timed actions, and Pressable areas call the same actions for manual taps. Frozen-screen and frozen-time props are provided for tests.

Good for

  • A guided workout session with set, rest and completion states
  • A step-by-step flow where each action leads to the next screen
  • An app demo that can run itself or be driven by taps

Dependencies

expo-blurreact-native-svgreact-native

Tags

AvatarBadgeButtonCardCrossfadeDark ModeDynamic IslandExpand and CollapseGradientHealth and FitnessIconIllustratedListLoading AnimationMinimalNumber RollNumeric DisplayPress FeedbackProductivity and HabitsProfile ScreenProgress BarRevealScreen TransitionSpring PhysicsTimer

Related