Reanimated recipes you can ship with one prompt.
101 React Native animations, from a simple fade to gesture-driven sheets. Every one has a live preview, Reanimated 4 code (with a Reanimated 3 version), ports for Flutter, SwiftUI and Jetpack Compose, and a short command you can drop into Claude, Cursor or any AI coding tool.
How the commands work
Copy the glossary once
Paste it at the top of your AI chat, or into CLAUDE.md or .cursorrules in your project. It defines every /anim command.
Write one line
Point at a component and name the animation: /anim press-scale on CheckoutButton. Add @v3 for the Reanimated 3 version: /anim press-scale@v3. Not on React Native? Use @flutter, @swiftui or @compose.
Need it exact? Copy the full prompt
Open any animation to copy a full prompt with the description, the key APIs and a working Reanimated 4 reference. Switch tabs on the same page for Reanimated 3, Flutter, SwiftUI or Jetpack Compose.
Pick an animation
Basic30 animations
Fade a view from 0 to 1 opacity on mount.
Slide a view in from the left while fading it in.
Shrink a button slightly while pressed, spring back on release.
Infinite linear rotation for a loading indicator.
A ring that expands and fades out behind a dot, on repeat. Good for live or recording states.
Animate a bar's width to a percentage value.
Smoothly blend between two colors based on state.
Use built-in layout animations for mount and unmount, no shared values needed.
A circle grows from the exact tap point and fades out, clipped to the button.
Bounce a logo off the screen edges forever by running X and Y as two independent ping-pong timings.
Count a number up from 0 to its value, for stats, balances and scores.
Slide a message in from the top, hold it, then slide it away on its own.
Three hamburger lines morph into a close X: the middle fades, the outer two rotate.
The placeholder shrinks and floats above the input when it's focused or filled.
A row of items scrolls sideways forever and loops without a seam. Good for logos and tickers.
Tap a star and every star up to it fills in, each one popping with a short stagger.
When the unread count goes up, the badge pops and the bell gives a little wiggle.
A thin bar at the top fills as you read down an article, tied directly to the scroll offset.
A pulsing placeholder holds the layout while loading, then crossfades into the real content in place.
Text types itself out one character at a time while a caret blinks at the end.
One word in a headline cycles through options, each sliding up and out as the next slides in.
A headline fades in word by word, each word rising into place a beat after the one before.
A few bars bounce up and down out of step, the classic now-playing or voice-input indicator.
The Material-style loader: an arc that spins while it stretches and shrinks.
The box fills with color, gives a small bounce, and the check mark draws itself in.
Plus and minus buttons where the number rolls in from the direction you pressed.
A checkout-style progress line fills between steps and each dot lights up as it is reached.
A glowing gradient spins around the edge of a card, a popular highlight for a featured plan or button.
Tap copy and the icon pops into a green check with a Copied label, then swaps back on its own.
As you type, a bar grows and shifts from red to green, with the label updating to match.
Intermediate40 animations
Drop a view in with a bouncy spring. Tune damping for more or less bounce.
Shake an input horizontally when validation fails.
List items animate in one after another with an index-based delay.
Expand and collapse content to its measured height, with a rotating chevron.
Loading placeholder with a highlight sweeping across.
Three dots bounce in sequence, like a chat typing indicator.
Custom switch: the thumb springs across and the track changes color.
Heart squashes, pops bigger and fills, with a ring bursting outward.
Draw an SVG path line by line, like a signature or logo reveal.
Three concentric progress rings fill up with an ease-out, like the Apple Watch rings.
Six petals expand outward and rotate in a slow in-out loop, for a breathing exercise.
Drag a chat bubble right; a reply icon grows in and a haptic fires at the threshold.
Cover art shrinks and fades as you scroll; a compact title bar fades in on top.
Pull the list down to reveal a growing, rotating icon; release past the threshold to refresh.
The whole screen tilts back in 3D and slides right to reveal a menu behind it.
A circle springs in, then a checkmark draws itself. For payment or form success.
The plus button turns into an X while action buttons fan out above it, one after another.
Carousel indicator where the active dot stretches into a pill and follows your swipe.
The top bar slides away as you scroll down and comes back as soon as you scroll up.
On tap the button shrinks into a circle with a spinner, then grows back when the work is done.
Pieces shoot up from a point, spin, fall under gravity and fade, for wins and completed goals.
A raised thumb slides behind the selected option with a little overshoot, like the iOS control.
Slides advance on a timer, pause while you drag, and the pager dots follow the live scroll position.
Drag the knob along the track to confirm. The fill follows your finger, and past the threshold it locks in, otherwise it springs back.
An odometer-style number: each digit is a column of 0 to 9 that springs to its new value.
A small bubble with an arrow springs out of the element it points at, then shrinks back into it.
A round search button stretches into a full search field and focuses it; cancel shrinks it back.
Tapping a chip fills it and grows a check mark, and the chips around it slide over to make room.
The active tab swells into a pill that shows its label, and the pill springs over to whichever tab you tap.
Two thumbs pick a minimum and maximum; each one stops at the other and the fill stretches between them.
A thumbstick you can drag anywhere inside its ring; let go and it springs back to the center.
Drag a divider across two stacked images to reveal more of the edited version.
A navigation drawer you can drag open from the edge or flick shut, while the screen behind dims and shifts.
One-time-code boxes where each digit pops in as you type, the next box glows, and a wrong code shakes the row.
A floating arrow springs up once you have scrolled down a way, and scrolls you back to the top when tapped.
Switch a list of cards into a two-column grid and every card glides and resizes into its new spot.
A chat input bar that rides up with the keyboard frame by frame instead of jumping when it opens.
Press and move your finger on a card and it tilts toward you in 3D with a sliding glare, then springs flat.
Layers of an illustration drift by different amounts as you tilt the phone, giving the picture depth.
Tap spin and the wheel whips round and slowly winds down onto a prize, the pointer flicking as each segment passes.
Advanced31 animations
Drag a view anywhere, then spring back to its origin on release.
Tinder-style cards: drag past a threshold to fling off screen, otherwise snap back.
Drag-to-dismiss sheet with snap points and a velocity check.
Flip a card to show its back face, using perspective and backface hiding.
Header shrinks and its image moves slower than the list as you scroll.
Pinch to scale an image with a min and max, combined with pan.
An underline moves and resizes to match the selected tab, using measured layouts.
Swipe a row left to reveal a delete action; collapse the row when removed.
Swipe between stories and they rotate like the faces of a 3D cube.
Drag a knob around a circle; the arc and the time label follow the angle.
A mini player bar expands into a full-screen player by dragging, and snaps open or closed.
Onboarding where the next page pours in from the edge as a bulging liquid shape.
Drag across a line chart; a cursor follows your finger and the price label updates on the UI thread.
A thumbnail expands into the detail screen with a shared element transition; drag down to shrink it back.
Tap or drag word chips from a bank into a sentence line; they spring into their slots.
Long-press a tile, drag it over another, and the grid reshuffles around it.
Category tabs stick to the top and the active tab follows the section you're scrolling through.
Turn a circular wheel with your finger to move a selection up and down a list, with a click on each step.
List rows skew with scroll velocity and settle back with a spring, giving a wobbly feel.
Tap a card in a stack: it rises to the top and the rest collapse to the bottom.
Switching to dark mode spreads out as a circle from the toggle, using a snapshot of the old screen.
A scrolling list that curves away in 3D like the iOS date picker, snapping to each row.
Horizontal carousel where the centered item is large and flat, and the neighbors shrink and turn away.
Long-press a row to lift it, drag it up or down, and the other rows slide out of its way.
As a modal sheet slides up, the screen behind it shrinks, rounds its corners and dims, like iOS page sheets.
Long-press Like to open a bar of reactions, slide your finger along it to magnify each one, and let go to pick.
Hold a message and it shrinks under your finger, then lifts out above a dimmed screen with a menu springing from it.
Add to cart and a copy of the product image arcs across the screen into the cart icon, which bumps when it lands.
A round progress gauge filled with liquid: the surface waves continuously while the level rises to the value.
Drag the lead bubble and a trail of smaller ones follows, each springing after the one in front of it.
A shape melts smoothly from a circle to a rounded square to an organic blob and back.