If you want to make a small animated avatar for a React app, this is a really nice workflow. I made a simple little fire mascot in Stew, animated it, and exported the whole thing as React code, so I could drop it into an app without adding any extra player or runtime.
The nice part is that you stay in one place for the visual work, then hand the exported component to your coding agent or plug it into your codebase yourself. Here’s exactly how I made this avatar.
How to make an SVG avatar in Stew Factory
I started in Stew Factory, where I can draw SVG shapes, import assets, or ask AI to generate parts for me. For this example, I wanted a very simple mascot, because simple shapes are easy to animate and they usually read better at small sizes inside an app.
I added a circle from the shapes toolbar and made it larger so I had enough room to work with. That became the base of the character.
For a mascot, I usually want it to feel friendly right away. So I kept the face big, the features simple, and the eyes oversized. That alone goes a long way.
If you want to explore more tutorials after this, the main learning area is here: https://www.stewfactory.app/learn
How I made the fire avatar look like a flame
Once I had the circle, I changed the fill to a linear color. For this fire look, I used yellow at one end and red at the other. That gave the shape the basic flame feel before any animation was added.
Then I used AI to generate cute eyes. I asked for “cute eyes, please”, which was enough to get something usable fast. The result included a little star element I didn’t want, so I just removed it and kept the eyes.
At that point, the character already had the basic look, a round warm gradient shape and a simple face.
How to turn a basic shape into a fire mascot
A perfect circle was too clean for what I wanted, so the next step was to rough up the silhouette.
I selected the circle and converted it to a path. That let me add and move nodes so I could pull parts of the shape outward and downward until it felt a bit more like a flame. I didn’t overdo it. Just a few changes were enough.
This part is important because even before animation, the outline should already suggest the idea. If the shape looks right while standing still, the motion tends to work better too.
How I added interactive motion to the flame shape
After adjusting the nodes, I wanted to make the avatar react in a playful way. So I selected the nodes, went to Animate, and used Run Away.
What that did was make those points react to my mouse. As I moved around the character, the flame shape responded by pulling away. It’s a small detail, but it made the mascot feel much more alive right away.
This was more of a fun interaction than the main animation, but it added personality with almost no work.
How to add flame texture and boiling motion
The next thing I did was add texture, because the shape still felt a little too smooth.
I clicked Add Effect and used Texture. I made the edges rougher so the outline picked up that uneven flame look. Stew uses SVG turbulence for this, but the important part from a design point of view is just that it gives the edge some natural variation.
I kept the grain fairly controlled. Too much detail would have made the mascot noisy. A little roughness was enough.
After that, Stew suggested a Boil animation, which fit the flame idea really well. So I used that. It gave the edges motion and made the whole form feel hot and active, even before I animated the face.
How I made the eyes follow the mouse
At this stage, the outer shape was moving, but the character still felt a bit static. The obvious thing missing was the face.
So I selected the whole group and applied Follow Mouse. That made the avatar track the cursor, which instantly gave it more charm. Now it wasn’t just a moving flame, it was a little character looking back at you.
I also animated the eye reflections with Jitter. I applied that to the highlight elements so they moved on their own just a bit. That tiny motion made the eyes feel less stiff and more playful.
How I animated a hover state for a React avatar
Once the idle and interactive motions were in place, I added a short hover animation. I wanted something fast, so I moved to 0.2 seconds on the timeline.
For the hover state, I made the eyes bigger first. After scaling them up, I adjusted their spacing because they got too close together. Then I copied that animation from one eye to the other so they matched.
After that, I pushed the main shape larger as well. I also moved parts of the flame so the whole character lifted and expanded a bit on hover. The goal wasn’t to build a long sequence. I just wanted a quick reaction that would feel nice inside an app.
That’s really the idea here, short UI-friendly motion. Fast enough to feel responsive, but still expressive.
If you want inspiration for this kind of character work, you can also look through https://www.stewfactory.app/examples
How to export Stew animation as React code
Once the avatar looked right, I set that animation to trigger on hover. So now the component reacts when you move over it, the face tracks the cursor, and the flame has its own motion too.
Then I exported it as React code.
That’s the part I really like about this workflow. There’s no Stew player needed and no extra runtime. You just get the React component for the animation itself. In my example, the generated code for the whole animated avatar was 16 kilobytes.
So if you’re building a React app and you want a small animated mascot, icon, or avatar, you can design the visual in Stew, export the code, and hand it straight to your coding agent to place in your app.
Why I like this workflow for React applications
For little product characters, status avatars, onboarding visuals, or interactive mascots, this approach is really practical.
I can make the SVG, animate it visually, define hover behavior, add mouse-follow interaction, and then export the result as React code. That means I’m not rebuilding the same animation by hand later. The visual work and the handoff are much closer together.
And because the output is just React code, it’s much easier to fit into the app wherever I want.
Try it yourself
If you want to make your own animated avatar, open Stew and start with a simple shape and a face. Add one or two interactions, export the React component, and drop it into your app. You can get started here: https://www.stewfactory.app/auth/login