How to Add an Interactive Animated Mascot to a SaaS Pricing Page
By the Charmotion team · Updated · How we write guides

Place the animated mascot on your SaaS pricing page beside the plan cards or billing toggle, reserve its space in the layout, and change its mood as visitors hover plans, switch billing or compare features. Keep it small and decorative, never covering a price or button. Respect reduced motion and measure the result against the same page without it.
Key takeaways
- A pricing page mascot should help a visitor choose a plan, so give it one job and a small set of moods.
- Reserve the mascot's box in the layout before the animation loads, so the plan cards never shift.
- Tie each mood to one visitor action in your own code, and keep the price and buttons unobstructed.
- Honor reduced motion and keep the mascot decorative, so motion-sensitive visitors and screen readers lose nothing.
- Test the mascot against the same page without it, and judge the result by checkout starts, not by time on page.
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 an animated mascot sit on a pricing page?
Learning how to add an animated mascot to a SaaS pricing page is mostly a layout problem before it is an animation problem. The best spot is one the eye already passes: beside the headline in the hero, or next to the monthly and yearly toggle. A mascot there reads as a guide to the choice. Placed over the plan cards, it covers prices and buttons, and that costs more signups than the charm adds.
| Placement | Works when | Watch for |
|---|---|---|
| Beside the hero headline | The page sells one clear product | Keep it to roughly a third of the hero width on phones |
| Next to the billing toggle | You offer monthly and yearly plans | It must not hide the toggle itself |
| Above the comparison table | Visitors read many features | Give the table room to scroll on small screens |
| Inside one plan card | One plan is the recommended choice | Only one card should carry a character |
| Over a price or call to action | Almost never | It hides text and blocks clicks |
On phones, move the mascot above the plan cards and cap its height, so the first plan is visible without a long scroll. Test the layout at 360 pixels wide, a common narrow phone width, before you ship.
Which mascot moods fit pricing decisions?
A pricing page has only a few moments that matter. Pick a small set of moods, tie each to a visitor action, and keep everything else idle. A fixed numeric mood scale keeps your code and your asset in agreement, for example idle 0, happy 1, thinking 3, sad 4, listening 6 and attention 9. Moods that blend into each other look softer than a hard cut from one state to the next.
| Visitor action | Mood | Mood number |
|---|---|---|
| Page loads | idle | 0 |
| Hovers or selects a plan | happy | 1 |
| Opens the feature comparison | thinking | 3 |
| Switches to yearly billing | attention | 9 |
| Hits a plan limit or a failed card check | sad | 4 |
Characters without one-shot triggers need a mood number from your code for each moment, so keep the mapping in one place. Small accents such as sparkles or thinking dots can compete with plan badges. If they do, turn them off in the asset settings and let the mood carry the message.
How do you stop the mascot from shifting the layout?
An animation that loads late pushes the plan cards down when its box has no size. Reserve the box in CSS before the file arrives, so the page keeps its shape from the first paint.
.mascot-slot {
width: 240px;
aspect-ratio: 1 / 1;
flex: 0 0 240px;
}
.mascot-slot canvas,
.mascot-slot img {
width: 100%;
height: 100%;
display: block;
}- Show a transparent poster image first. Export a still frame of the animation, and it works as the placeholder while the loop loads.
- Start playback after the first paint, and only once the slot is near the viewport.
- Keep the file small. A heavy animation delays the page for every visitor, including those who never reach the pricing cards.
For header placement, the same reserved-box method applies. The steps in how to add an animated logo to your website header cover the rest of the page chrome.
How do you connect the mascot to plan selection in code?
Two routes are common. With Rive, you export a .riv file and load it with a Rive runtime. Rive's React runtime, @rive-app/react-canvas, exposes a useRive hook that returns the Rive instance, and Rive's data binding can drive properties from live app data. Exporting a .riv for a product needs a paid plan, because the free plan cannot export .riv files for use in an app. See Is Rive free? for the current plan terms.
With Framer, you build the mascot as a code component. Framer's help center says code components and code overrides both give full access to the Motion for React API. Framer does not document a state-machine format for characters (as of December 2026), so you drive the states with props and Motion variants.
Whichever route you choose, map moods to events, not timers. This sketch keeps the mapping in one place:
const MOOD = { idle: 0, happy: 1, thinking: 3, sad: 4, attention: 9 };
function setMood(name) {
// write MOOD[name] to your mood number input or view model property
}
document.querySelectorAll('[data-plan]').forEach(function (card) {
card.addEventListener('mouseenter', function () { setMood('happy'); });
card.addEventListener('mouseleave', function () { setMood('idle'); });
});If you want the character built for you, Charmotion (our product) takes one front-facing image and returns a .riv with a CharacterStateMachine, a number input named mood, paste-ready web, React and SwiftUI code, and a transparent poster per animation. Plans and credits are on the pricing page.
Disclosure: Charmotion is our product.
Does an animated mascot hurt accessibility on a pricing page?
It can, if it moves when a visitor has asked for less motion or if it competes with the text. Check three things before launch.
- Honor reduced motion. When
prefers-reduced-motionis set, show the poster frame and skip the loop. One media query check in your script handles this. - Keep the mascot decorative. Mark the element with aria-hidden='true', and put the plan names and prices in normal text so screen readers skip the character.
- Protect contrast. Do not place animated pixels behind body copy, and keep prices at a readable size whatever the mascot is doing.
Avoid flashing, and keep mood changes soft. Rapid repeated state changes read as noise, and they pull attention away from the plan the visitor is trying to compare.
How do you know the mascot helps conversion?
Test it rather than assume it. Run the page with the mascot and the same page without it as an A/B test, and compare plan clicks and checkout starts over at least one full billing cycle of traffic. Time on page alone can rise because a visitor is distracted, not because the decision got easier.
Watch the mobile numbers closely. A heavy animation can slow the first paint, so compare load timings for both variants as well. Track each mood change as an event, so you can see whether visitors who hover a plan saw the happy state before they clicked.
Change one thing at a time. If the mascot lifts clicks on the recommended plan but lowers checkout starts, it is pulling attention without helping the decision. Shrink it or move it. An animated mascot is a tool for a few moments on the page, not a reason to animate everything. For more on putting characters on existing sites, see how to add a 3D animated character to a website and how to add an animated mascot to Squarespace.
How to add an animated mascot to a SaaS pricing page
- Choose the placement. Pick one spot beside the plan cards or the billing toggle, and keep the price and every button unobstructed at 360 pixels wide and at desktop width.
- Reserve the box. Set a fixed aspect ratio on the mascot slot and show the transparent poster image first, so the plan cards do not move when the animation loads.
- Define the moods. Map each visitor action to one mood number: idle 0 on load, happy 1 on plan hover, thinking 3 in the comparison table, attention 9 on yearly billing.
- Wire the state changes. Connect the mood to your app with the runtime for your stack, such as a Rive web runtime or a Framer code component, and drive changes from events rather than timers.
- Honor reduced motion. Check prefers-reduced-motion, show the still frame when it is set, and hide the decorative mascot from screen readers with aria-hidden.
- Test against the page without it. Run an A/B test for at least one billing cycle of traffic and compare plan clicks and checkout starts, not only time on page.
Frequently asked questions
Can the mascot on a pricing page be a Rive file?
Yes. Export a .riv file from Rive on a paid plan, because the free plan cannot export .riv files for use in an app or product. Rive's runtimes play any .riv file, so the same mascot can run on a pricing page built in React or plain HTML. Check Rive's pricing page for current plan details.
Will an animated mascot slow down my pricing page?
It can. A large file, or an animation that starts before the layout is ready, delays the page. Keep the file small, reserve its space, show a still poster first and start playback after the first paint. Measure load timings before and after you add it.
Should the mascot speak to visitors?
Keep any speech to one short line placed outside the character, or leave it out. A mascot that talks over the plans competes with the price. Let the mood carry most of the message, and keep the plan copy in plain text where screen readers can read it.
Does Framer support character state machines?
Framer does not document a state-machine format for characters (as of December 2026). Its code components and Code Overrides give full access to Motion for React, so you can build mascot states with props and variants. Check framer.com for current plan details before you choose it.
Sources
- Rive pricing, Rive
- Rive Editor, Rive
- Rive React runtime, Rive
- How animations and effects work in Framer, Framer
- Framer Marketplace: Animation components, Framer
- Charmotion pricing, Charmotion