Skip to content
Native Animation
Rising Photo Welcome animation preview

This preview uses fictional demo content. See the props below for the customization options available in this component.

npx nativeanimation add rising-photo-welcome
Welcome

Rising Photo Welcome

React Native Onboarding Welcome Screen

A welcome form with rising photos and image-linked field colors, with configurable slides, copy, phone label, and fonts.

$9 for this animation

Add to your project

Copy the component and its assets into your app with the Native Animation CLI, or paste the agent prompt into Claude Code, Codex or Cursor once the MCP server is connected.

About this animation

A React Native onboarding screen can introduce a product and collect a first detail without separating atmosphere from the form. This full-screen welcome alternates between two loaded photos, brings each new image upward over the previous one, and carries its color into translucent phone fields. Use it for hospitality, travel, membership, social, or other image-led sign-up flows. Expo Image waits for the incoming asset and keeps only the current and next slides mounted. One Reanimated progress value synchronizes the rise, scale, parallax, darkening, and tint interpolation, while Expo Linear Gradient supports the layered finish. Customize slides, headline, form labels, timing, fonts, callbacks, automatic advance, and imperative next, pause, and resume controls.

When to use it

  • Introduce an image-led product during sign-up.
  • Collect a phone number on a welcome screen.
  • Rotate through branded photography automatically.
  • Synchronize form tint with each incoming image.

A welcome form with rising photos and image-linked field colors, with configurable slides, copy, phone label, and fonts.

How it works

  1. The component keeps only the current and next images mounted, then waits for the incoming image to load before moving it.
  2. A single continuous progress shared value drives every animated property, keeping the photo layers and field tint synchronized on the UI thread.
  3. The incoming photo follows a measured upward easing curve while its scale settles over a longer, softer tail.
  4. The outgoing photo moves more slowly, grows slightly, and darkens to create depth without competing with the new image.
  5. interpolateColor blends the translucent fields from the outgoing slide's tint to the incoming slide's tint over the same entrance.

Install

npx expo install react-native-reanimated react-native-worklets expo-image expo-linear-gradient

This component also imports react-native-worklets, which is installed with Reanimated in an Expo project.

Usage

import RisingPhotoWelcome from './RisingPhotoWelcome';

const slides = [
  { image: require('./assets/lounge.jpg'), tint: '#556467' },
  { image: require('./assets/garden.jpg'), tint: '#607D53' },
];

export function WelcomeScreen() {
  return <RisingPhotoWelcome slides={slides} />;
}

Use the timing, fonts, callbacks, and imperative controls to adapt the pattern:

import { useRef } from 'react';
import RisingPhotoWelcome, {
  type RisingPhotoWelcomeRef,
} from './RisingPhotoWelcome';

export function WelcomeScreen() {
  const welcomeRef = useRef<RisingPhotoWelcomeRef>(null);

  return (
    <RisingPhotoWelcome
      ref={welcomeRef}
      slides={slides}
      title="NORTH"
      subtitle="Save a place for tonight."
      interval={3200}
      transitionDuration={900}
      titleFontFamily="YourSerifFont"
      bodyFontFamily="YourSansFont"
      monoFontFamily="YourMonoFont"
      onCountryPress={() => openCountryPicker()}
      onSubmit={(phone) => continueWith(phone)}
      onIndexChange={(index) => trackVisiblePhoto(index)}
    />
  );
}

The forwarded ref exposes next(), pause(), and resume().

Props

PropTypeDefaultDescription
slidesWelcomeSlide[]RequiredAt least two { image, tint } entries.
titlestring'WELCOME'Large heading near the top.
subtitlestring'Find the places you love.'Supporting copy below the heading.
phoneLabelstring'Phone number'Label above the phone controls.
countryCodestring'+1'Text inside the country-code button.
placeholderstring'(555) 000-0000'Phone input placeholder.
onPhoneChange(value: string) => void—Called after each phone-number edit.
onSubmit(value: string) => void—Called by the keyboard's done action.
onCountryPress() => void—Called when the country-code button is pressed.
onIndexChange(index: number) => void—Called when an incoming photo reaches its final position.
autoAdvancebooleantrueEnables automatic transitions.
intervalnumber2400Milliseconds from one transition start to the next.
transitionDurationnumber1000Duration of the upward entrance in milliseconds.
titleFontFamilystringSystem fontFont used for the heading.
bodyFontFamilystringSystem fontFont used for supporting text and the country code.
monoFontFamilystringSystem fontFont used for the phone input.
styleStyleProp<ViewStyle>—Outer-container style.
testIDstring—Test identifier for the outer container.

Compatibility

  • Expo SDK 58
  • React Native 0.88
  • Reanimated 4.7 and Worklets 0.13
  • iOS: supported
  • Android: supported
  • Web: supported
  • Works in Expo Go because all native dependencies are included in the SDK

Accessibility

The country-code control is exposed as a labeled button and the phone field uses its visible label as its accessibility label. Focusing the phone field pauses automatic transitions and blurring it resumes them. When reduced motion is enabled, the rise, scale, and parallax are replaced by a 220 ms crossfade while the tint still transitions in sync.

The country-code button responds on press with an interruptible spring. Both controls have at least 48 pt of usable height. The full-screen layout expects its parent to apply safe-area insets; embedded layouts use the space provided by the parent.

Customization notes

Set slides[].tint to theme the glass fields for each photograph.

FAQ

Does this onboarding screen work in Expo Go?
Yes. Expo Image, Expo Linear Gradient, Reanimated, and Worklets are included with Expo SDK 58 and Expo SDK 57. Each published piece is reviewed on physical iPhone and Android devices with Expo Go before release.
Can I replace the photos, copy, and form behavior?
Yes. Supply at least two image-and-tint slides, replace all visible copy, choose timing and fonts, and handle phone changes, submission, country selection, and slide changes.
How does it avoid distracting people during input?
Focusing the phone field pauses automatic transitions and blur resumes them. Reduce Motion replaces rise, scale, and parallax with a synchronized 300 ms crossfade.