Skip to content
Limited timeStarter is now $9 a month instead of $20.See plans
charmotion

How to Add an Animated Mascot to App Referral & Waitlist Confirmation Screens

By the Charmotion team · Updated · How we write guides

Cover illustration for the guide: How to Add an Animated Mascot to App Referral & Waitlist Confirmation Screens, with Charmotion demo characters

To animate a mascot for a referral or waitlist screen, give it a few states that match each moment: waiting in line, sharing and a reward claimed. Each state maps to one input your app sets from data it already holds, such as a waitlist position or an invite count.

Key takeaways

  • Map each referral or waitlist moment to one mood, and keep the list to five to seven states.
  • Let the app set a single mood value from status it already has, instead of timing animations by hand.
  • Use happy for a confirmed spot and sad for a failed invite, since characters have no success or error triggers.
  • Return to idle after a confirmation, and turn accents off on screens people revisit.
  • Ship one .riv file and check the free plan splash screen before launch.

Already have a character or logo? See examples in real app screens: splash, onboarding, loading and empty-state screens, with the animation that plays in each.

What should a mascot show on a referral or waitlist screen?

A referral or waitlist confirmation screen has one job: tell the person where they stand and what to do next. A mascot helps when its expression matches that status. It hurts when the same cheerful loop plays whether the invite worked or failed.

Start by listing the moments the screen can show. Most products need five to seven. Each moment gets one mood, and the list stays short enough for a developer to remember.

Moment on the screenMood to playWhy
Checking an invite code or linkloadingShows work in progress
Joined the waitlist, waiting for accessidleCalm, with no false urgency
Spot reserved or invite senthappyConfirms the action
Access granted or reward unlockedwaveWelcomes the user in
Prompt to share the linkattentionDraws the eye to one action
Share or invite failedsadAdmits the problem and invites a retry

Keep the mascot away from the one button that matters. The character should point toward the action, not block it. The status itself, such as a waitlist number or a reward amount, stays as text so the screen still reads without animation.

How do you animate a mascot for referral and invite-a-friend screens?

Learning how to animate a mascot for referral and invite-a-friend screens comes down to three decisions: which character, which moods, and which value the app controls. Everything else follows from those.

Use one character for the whole referral flow, from the waitlist page to the reward screen. A new character at each step confuses users who expect one guide. Export only the moods you need, because every extra animation adds production work and, with some tools, cost.

Then decide who sets the mood. For most products the answer is the app, because it already knows the waitlist position, whether an invite was sent and whether a reward was claimed. Rive data binding lets app code write those values into the file while it runs, so the animation follows real status. A chain of timers breaks the first time a network call is slow.

If your screen lives in a no-code or AI app builder, the logic is the same. The setup steps for a Rive mascot in a Lovable app and a Rive mascot in Bolt.new, v0 and Replit cover the builder side.

How do you connect the mascot to waitlist and referral data?

Give the file one number property, named mood, on its view model. Map each screen state to one number in a single lookup object, so every state resolves to one value. Moods that blend into each other look smoother than a hard cut when the value changes.

On the web, the Rive runtime exposes the bound instance as viewModelInstance, and a number property can be written through its name. This React example sets the mood whenever the status changes. The numbers in the example are placeholders, so replace them with the values your file defines:

import { useEffect } from 'react';
import { useRive } from '@rive-app/react-canvas';

const MOOD = { idle: 0, happy: 1, attention: 9, sad: 4, loading: 5 };

export default function ReferralMascot({ status }) {
  const { rive, RiveComponent } = useRive({
    src: '/mascot.riv',
    autoplay: true,
  });

  useEffect(function () {
    if (!rive) return;
    const vmi = rive.viewModelInstance;
    if (!vmi) return;
    vmi.number('mood').value = MOOD[status] ?? MOOD.idle;
  }, [rive, status]);

  return <RiveComponent />;
}

Three details matter. The effect depends on status, so the animation changes only when the data does, not on every render. If viewModelInstance is empty, the file is not bound yet, so check the view model setup in the editor before you debug the code. The fallback in MOOD[status] sends unknown values to idle, so a new status never leaves the mascot broken.

For React Native, the runtime offers a useViewModelInstance hook that creates an instance from a file, a view model or a view reference. Its async option needs @rive-app/react-native 0.4.18 or later. The app must be a development build rather than Expo Go, as explained in Rive in Expo. The same numbers work on every platform, so one status object can drive the web and mobile versions.

How should the mascot move so it does not annoy people?

Confirmation screens are often seen once, then revisited when someone checks their waitlist place. Motion that feels charming the first time can feel loud on the fifth visit. A few rules keep it useful.

  • Return to idle. Characters have no one-shot triggers, so a success is shown with happy and an error with sad. After a confirmation, have the app set the mood back to idle, for example after a few seconds, so the mascot does not keep celebrating.
  • Use happy for success and sad for errors. Those two moods carry the meaning, so pick them on purpose.
  • Turn off accents when calm matters. Sparkles, Z z z, thinking dots and the exclamation mark are on by default. The boolean accents hides them, which suits a screen people revisit.
  • Respect reduced motion. Read the system setting and switch to a calmer mood or a static poster. The accessible animation guide covers the standards side.
  • Skip launch here. The launch animation plays once as an app intro, which a confirmation screen does not need.

Keep the copy and the mood in agreement. A sad mascot next to a line that says you are on the list sends a mixed message, and readers trust the words less.

Which file should you ship for a referral or waitlist mascot?

Ship a .riv file for an interactive screen. A runtime plays it live, reads the mood value and avoids shipping a separate video for every state. Rive's runtimes are open source and play any .riv file, so the same file can run in web, React Native, Flutter, Apple and Android apps.

Plan before launch. Exported files from Rive's free plan play a Rive splash screen, and paid plans export without it. Check the current plan details in Is Rive free? Pricing and commercial use before you put a file in front of users.

If you are not drawing the character yourself, a generator can produce the file. Disclosure: Charmotion is our product. Charmotion takes one finished, coloured character facing the viewer with visible eyes and a mouth, and returns one Rive file with a character view model, a character state machine and, when you pick launch, a launch state machine. The output also includes web, React and SwiftUI code, a README, an AI_README for coding assistants and a transparent poster for each animation. Pick only the moods this screen uses, such as idle, happy, loading, attention and sad, because each costs one credit. Plans and credit counts are on the pricing page.

How do you test each mascot state before launch?

Build a hidden preview route that lists every status with a button, then step through them in order. Cover the referral link, an empty waitlist, a long queue, a failed invite and a reward claim. Each one should show the right mood within a second of the status changing.

  • Test on a mid-range Android phone and an older iPhone, not only the development laptop.
  • Turn on the system reduce-motion setting and confirm the calmer fallback appears.
  • Check that the mascot does not cover the share button or the reward amount on narrow screens.
  • If the app supports dark mode, check the character's outline against both backgrounds.
  • Open the file in a preview tool to confirm the mood names. The guide to previewing a .riv file online lists the steps, and the Rive file inspector is a quick check on what a file contains.

If the mascot works in the preview but not on the live screen, the usual cause is a status that never reaches the mood code, not the animation itself. Log the status value at the point where the mood changes, and compare it with what the screen shows.

How to add an animated mascot to a referral or waitlist confirmation screen

  1. List the screen moments. Write down the five to seven states the screen can show, such as checking a link, waiting, confirmed, sharing, reward claimed and failed.
  2. Choose one character and its moods. Use one character for the whole referral flow and export only the moods those states need, such as idle, happy, loading, attention and sad.
  3. Map each state to a mood. Assign one mood per state in a single lookup object in the app code, with idle as the fallback for unknown values.
  4. Bind the mood to live status. Write the mood number into the file's mood property whenever the waitlist position, invite result or reward status changes, using the runtime's data binding.
  5. Return to idle after a confirmation. Because characters have no one-shot triggers, have the app set the mood back to idle a few seconds after a happy or wave moment.
  6. Test every state on real devices. Step through each status on a mid-range Android phone and an older iPhone with reduced motion on, and check that the mascot never covers the button.
  7. Ship the file with a fallback. Export the .riv file on a plan that removes the splash screen, and provide a static poster image for devices or settings where animation is off.

Frequently asked questions

Does an animated mascot improve referral or waitlist conversions?

No benchmark in this guide proves it, and results depend on the product. Run an A/B test with the static mascot as the control, then track share taps, invite sends and waitlist sign-ups. Keep the animation only if those numbers move. Animation that only looks nicer is a reason to keep the static version, not to ship a new one.

Can one mascot file serve iOS, Android and the web?

Yes. Rive's runtimes for web, React Native, Flutter, Apple and Android all load .riv files, so one file can serve each platform. Keep the mood names and numbers identical in every client, and drive them from the same status object. Check the runtime version you install, since data binding support differs between runtimes and releases.

Is a video better than an animated mascot for a confirmation screen?

Use a video only when the screen needs sound or a long scene. A video plays in a fixed order, so it cannot change when the waitlist position changes. A Rive file reads a mood value from the app, which is the main reason to choose it for a confirmation screen. The Rive vs Lottie guide on this site compares the formats in more detail.

Sources

Related guides