Shared Title Workout Countdown Start
A splash word blurs from yellow to white, and the home title becomes the detail title by scaling from one anchor. Start squeezes the CTA into a yellow ball that falls off screen; a blurred 3, 2, 1 fills a 31-tick ring before a purple wipe.
export function Example() {
const progress = useSharedValue(0);
…
Agent prompt
Add the Now In Code component "shared-title-workout-countdown-start" to this project. The full source is attached at the end of this prompt. Put the files under components/shared-title-workout-countdown-start/, 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 ===
Details
- Platforms
- iOS, Android
- Requires
- Expo SDK 54+
- Access
- Pro
- Updated
- 23 Oct 2026
- License
- Unlimited commercial projects
- Original design
- @ayaneshu_ on X
Are you the designer? Ask us to change or remove this.
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 on a black screen. A splash spells the app name one letter at a time, each new letter appearing lemon yellow with a small blur before turning white. The home page appears with a gauge, a count of exercises, a large call-to-action button and a calorie card above a bottom bar. Tapping the button moves to the workout detail: the title is a shared element that travels from a single centred line to a two-line left-aligned heading, the button slides down and shifts from lemon to gold, and the gauge and big number fade out. Pressing Start turns the button into a ball and runs a Starting workout countdown of 3, 2, 1, Go, then lands on a set-logging page where heart rate fades in.
How it's built
A shared core holds the timeline, positions measured in points and the text table, and the React Native component renders it with react-native-svg and a custom font loaded through expo-font. The title move uses one anchor, left edge and baseline, for both layouts, interpolating position and size with a cross-fade and blur between the two text versions. Transitions follow an exponential approach curve with a soft start. A requestAnimationFrame loop drives everything. No Reanimated or gesture library is used in the component.
Good for
- Fitness and training apps that need a start sequence with a countdown
- Page transitions where a heading and a primary button persist between screens
- Splash screens that spell a wordmark letter by letter
Dependencies
react-native-svgexpo-fontreact-native