How to Add an Animated Mascot to an iOS Paywall to Boost Trial Conversion
By the Charmotion team · Updated · How we write guides

Put a small animated mascot on the iOS paywall screen you control, bind its mood to each purchase step, and then test it against the same paywall without one. Keep it beside the offer rather than over the price or trial terms. Judge it by paid conversion after the trial, not by trial starts.
Key takeaways
- Place the mascot beside the offer, never over the price or the trial terms.
- Bind the mascot's mood to purchase state: loading while buying, happy when a trial starts, sad when a purchase fails.
- RevenueCat paywalls are built in the dashboard, so check whether a Rive element exists before you plan around one.
- Run a control paywall against the mascot version and judge the result by paid conversion after the trial.
- Give the mascot a fixed frame so the layout does not shift, and respect Reduce Motion.
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.
Where should a mascot sit on an iOS paywall?
The practical question is how to add an animated mascot to an iOS paywall for higher conversion, and the answer starts with placement, not animation. A paywall has one job: get a decision about a trial or a plan. Anything that competes with the price, the trial terms or the restore button weakens that decision.
Put the mascot in the top third of the screen or beside the headline, at a size where it reads as a character rather than a banner. Keep the trial terms, the price and the buy button below it, with the same contrast as before. Check the static version first, then add motion.
Two placements work well in practice. A mascot above the headline suits apps where the character already appears in onboarding. A mascot beside the purchase button suits reassurance at the moment of decision. Test one placement at a time so you know which change did the work.
How do you build the paywall screen with a Rive mascot in SwiftUI?
If you build the paywall yourself, the mascot is one view in your own layout. Rive's Apple runtime is distributed as the rive-ios Swift package, and it also supports UIKit and AppKit, so the same approach works in a UIKit paywall. Its SwiftUI integration uses a RiveViewModel controller to load a .riv file and drive its state machine.
- Add the rive-ios Swift package to your app in Xcode.
- Add your .riv file to the app target so it is bundled with the build.
- Create a RiveViewModel for the file and the state machine that holds your mood input.
- Place the view with a fixed height so the price and button do not move when the file loads.
The code below keeps the purchase logic separate from the mood mapping. MascotView is your wrapper around the Rive view that forwards the mood value to the file. The setup for that wrapper is covered in animated onboarding mascots in SwiftUI and Rive data binding in SwiftUI.
import SwiftUI
enum PurchaseStep {
case browsing, purchasing, trialStarted, failed, trialEnding
}
enum PaywallMood: Double {
case idle = 0, happy = 1, wave = 2, sad = 4, loading = 5, attention = 9
}
func mood(for step: PurchaseStep) -> PaywallMood {
switch step {
case .browsing: return .idle
case .purchasing: return .loading
case .trialStarted: return .happy
case .failed: return .sad
case .trialEnding: return .attention
}
}
struct PaywallView: View {
@State private var step: PurchaseStep = .browsing
var body: some View {
VStack(spacing: 16) {
MascotView(mood: mood(for: step).rawValue)
.frame(height: 180)
Text("Start your free trial")
.font(.title2.bold())
Button("Continue") {
step = .purchasing
// Call your RevenueCat purchase here, then set
// step = .trialStarted on success or .failed on error.
}
}
}
}
Which mascot moods match each purchase step?
Mood should follow what the user is doing, not decorate the page. Use one numeric mood input, so every purchase step maps to one value in one place. The table gives a starting point; adjust it after you watch real sessions.
| Purchase step | Mood | Why |
|---|---|---|
| Paywall opens | Idle | Reading the offer is the main job, so the loop stays calm. |
| Buy or trial button pressed | Loading | Shows progress while the store responds. |
| Trial started | Happy | Confirms success without a separate success animation. |
| Purchase failed or cancelled | Sad | Signals an error while the retry button stays visible. |
| Trial ending reminder | Attention | One clear alert, used only where the app shows a reminder. |
Keep transitions short. Moods should blend into each other, so a change from loading to happy reads as a result, not a cut. If you want the full state set and how to drive it from app state, see driving Rive character mood states from app state.
Avoid a mood on every tap. A mascot that reacts to each choice competes with the choice itself. Change mood only when the purchase state changes.
Does a RevenueCat or Superwall paywall work with a mascot?
RevenueCat Paywalls are built in the RevenueCat dashboard and displayed in the app with the RevenueCat UI SDK. The layout can change remotely without a code change or a new app release, and a paywall can be a single screen or a multi-step sequence that leads to the offer. Each Offering can have its own paywall. RevenueCat's paywall docs do not describe a Rive element in the dashboard editor (as of December 2026), so check the element list in your dashboard before you plan around one.
That leaves two patterns that work. First, keep the dashboard paywall for the offer and place the mascot on the screen that leads to it, such as onboarding or a feature gate. Second, build the paywall in SwiftUI and use RevenueCat only for the purchase. The second pattern gives you full control of where the mascot sits, and it is the one the code above assumes. For a broader look at mascots in the first-run flow, see adding a mascot to onboarding and empty states.
Superwall also serves paywalls remotely, through named placements that you configure in its dashboard. Its iOS SDK, SuperwallKit, is added with Swift Package Manager. On iOS you can fetch a paywall as a view controller with getPaywall(forEvent:params:) and wrap it inside SwiftUI, which gives you control over the surrounding layout. Check the SDK's own setup guide for the current requirements before you commit to a design.
How do you test whether a mascot raises trial conversion?
No public benchmark in these sources measures how much a mascot changes trial conversion, so run your own test. RevenueCat lets you create an unlimited number of Offerings and paywalls for variations tested with Experiments, which is a clean way to compare a control against a mascot version.
- Keep the control paywall identical to the mascot version, except for the mascot.
- Split new users between the two variants at the Offering level, and keep the split fixed for the whole test.
- Record trial starts per paywall view, then paid conversion after the trial ends.
- Check load time and crash rate on an older iPhone before you widen the test.
Wait for the full trial cycle before you decide. A mascot that makes trials easier to start can still produce fewer paying users, so trial starts alone are the wrong metric. Paid conversion after the trial is the number to read.
Run the test long enough to see weekday and weekend behaviour, and keep the sample large enough that a small difference is not noise. If the mascot version wins on paid conversion and does not raise crashes or slow loads, keep it.
What mistakes hurt trial conversion with a mascot?
- Animating the price or trial terms. Motion near the numbers draws the eye away from them. Keep the text still and the mascot in its own space.
- A loop that never stops. Pause the animation when the paywall is off screen, and stop it after a purchase completes.
- Ignoring Reduce Motion. Show the first frame when the setting is on. The steps are in Reduce Motion in SwiftUI and UIKit.
- A file that loads late. Without a fixed frame, the layout jumps when the mascot appears, which looks like a bug on a purchase screen.
- An error with no way out. When the mood is sad, keep the retry button and a plain message visible.
Also check the SDK version when you use a multi-step RevenueCat flow. RevenueCat's docs say older SDK versions show only the final screen of a multi-step paywall, so a mascot placed on an earlier step can disappear on installs that have not updated.
Where do you get the .riv file for the mascot?
You can draw the animation in the Rive editor, hire a Rive animator, or use a generator. Charmotion is one option. It takes one finished, front-facing character image and returns one Rive (.riv) file with a character state machine, a number input named mood and a data-bound mood property, along with paste-ready SwiftUI code. Idle is included free, and each other animation costs one credit. Plans and credit amounts are listed on the pricing page.
In a Charmotion file the mood numbers are idle 0, happy 1, wave 2, thinking 3, sad 4, loading 5, listening 6, talking 7, sleeping 8 and attention 9. The boolean accents hides the small accent marks, which suits a calm paywall. Characters have no one-shot triggers, so the table above uses happy for success and sad for an error.
Disclosure: Charmotion is our product.
A character made from one image moves its face, bends its body softly and follows ears, tails and antennae. It is not a full 3D rig or a scene, so test the file on a real device before you ship it. For a wider view of how this kind of character is set up, see the app mascot animation page.
How to add an animated mascot to an iOS paywall
- Choose the placement. Pick a spot beside the headline or the purchase button. Keep the price, the trial terms and the buy button fully visible and still.
- Prepare the mascot file. Get a Rive (.riv) file with one numeric mood input. Confirm it plays idle on its own before you connect it to the paywall.
- Add the Rive view to your SwiftUI screen. Add the rive-ios Swift package, bundle the .riv file, and place the view in a fixed-height frame so the layout does not shift when it loads.
- Map purchase steps to moods. Use loading while the purchase runs, happy when a trial starts, sad when it fails and attention for a trial-ending reminder. Return to idle otherwise.
- Respect Reduce Motion and pause off screen. When Reduce Motion is on, show the first frame. Pause the animation when the paywall is not visible and stop it after the purchase completes.
- A/B test against the same paywall without the mascot. Use RevenueCat Experiments or a similar tool to split users. Judge the result by paid conversion after the trial, and check load time and crashes on older devices.
Frequently asked questions
Can I put a Rive mascot inside a RevenueCat dashboard paywall?
RevenueCat's paywall docs describe layouts built in the dashboard and shown through the UI SDK. They do not document a Rive element in the editor (as of December 2026), so check the element list in your dashboard. If it is missing, place the mascot in your own SwiftUI screen or on the screen that leads to the paywall.
Which iOS versions do paywall SDKs support?
RevenueCat's legacy paywall docs list iOS 15.0 as a supported platform. Superwall's iOS SDK setup guide calls for Xcode 26 or later, which matters for the machine that builds your app. SDK requirements change, so check each vendor's current minimum before you release.
Will a mascot slow down the paywall?
It can, if it redraws every frame on a slow device or keeps running after the screen closes. Measure on an older iPhone, pause the animation when the paywall is off screen, and show the first frame when Reduce Motion is on.
Sources
- RevenueCat Paywalls, RevenueCat
- RevenueCat Paywalls (legacy documentation), RevenueCat
- Superwall-iOS (SuperwallKit), Superwall (GitHub)
- Custom paywall presentation in iOS with the Superwall SDK, Superwall
- Rive Apple runtime (SwiftUI, UIKit and AppKit), Rive
- Charmotion pricing, Charmotion