HEAD24 real-app animations from “Can it be done in React Native?”→

Reanimated recipes you can ship with one prompt.

/animspring-bounce_

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.

Browse animations
101ANIMATIONS24FROM REAL APPS28GESTURE-DRIVENv4MAIN · v3INCLUDED+3FLUTTER · SWIFTUI · COMPOSE32ON THE V4 CSS API
$ cat README.md

How the commands work

01 · git clone

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.

Open .txt
02 · git commit

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.

03 · git show

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.

$ ls ./animations

Pick an animation

Basic30 animations

Fade inBasic

Fade a view from 0 to 1 opacity on mount.

/anim fade-inv4 CSS API
Slide inBasic

Slide a view in from the left while fading it in.

/anim slide-inv4 CSS API
Press scaleBasic

Shrink a button slightly while pressed, spring back on release.

/anim press-scalev4 CSS API
Spin loaderBasic

Infinite linear rotation for a loading indicator.

/anim spinv4 CSS API
Pulse ringBasic

A ring that expands and fades out behind a dot, on repeat. Good for live or recording states.

/anim pulsev4 CSS API
Progress barBasic

Animate a bar's width to a percentage value.

/anim progress-barv4 CSS API
Color shiftBasic

Smoothly blend between two colors based on state.

/anim color-shiftv4 CSS API
Entering presetBasic

Use built-in layout animations for mount and unmount, no shared values needed.

/anim entering-presetFadeInDown
Tap rippleBasic

A circle grows from the exact tap point and fades out, clipped to the button.

/anim rippleMaterial
DVD logo bounceBasic

Bounce a logo off the screen edges forever by running X and Y as two independent ping-pong timings.

/anim dvd-bounceDVD screensaver
Number count-upBasic

Count a number up from 0 to its value, for stats, balances and scores.

/anim count-upuseAnimatedProps
ToastBasic

Slide a message in from the top, hold it, then slide it away on its own.

/anim toastSlideInUp
Menu icon morphBasic

Three hamburger lines morph into a close X: the middle fades, the outer two rotate.

/anim menu-morphv4 CSS API
Floating labelBasic

The placeholder shrinks and floats above the input when it's focused or filled.

/anim floating-labelv4 CSS API
Infinite marqueeBasic

A row of items scrolls sideways forever and loops without a seam. Good for logos and tickers.

/anim marqueev4 CSS API
Star ratingBasic

Tap a star and every star up to it fills in, each one popping with a short stagger.

/anim star-ratinganimationName
Notification badgeBasic

When the unread count goes up, the badge pops and the bell gives a little wiggle.

/anim badge-bounceanimationName
Scroll progress barBasic

A thin bar at the top fills as you read down an article, tied directly to the scroll offset.

/anim scroll-progressuseAnimatedScrollHandler
Skeleton to contentBasic

A pulsing placeholder holds the layout while loading, then crossfades into the real content in place.

/anim skeleton-crossfadeFadeIn
Typewriter textBasic

Text types itself out one character at a time while a caret blinks at the end.

/anim typewriterv4 CSS API
Rotating wordBasic

One word in a headline cycles through options, each sliding up and out as the next slides in.

/anim word-rotateFadeInUp
Staggered text revealBasic

A headline fades in word by word, each word rising into place a beat after the one before.

/anim text-revealv4 CSS API
Equalizer barsBasic

A few bars bounce up and down out of step, the classic now-playing or voice-input indicator.

/anim wave-barsanimationName
Arc spinnerBasic

The Material-style loader: an arc that spins while it stretches and shrinks.

/anim spinner-arcanimationName
Animated checkboxBasic

The box fills with color, gives a small bounce, and the check mark draws itself in.

/anim checkboxtransitionProperty
Quantity stepperBasic

Plus and minus buttons where the number rolls in from the direction you pressed.

/anim stepperKeyframe
Step progressBasic

A checkout-style progress line fills between steps and each dot lights up as it is reached.

/anim step-progresstransitionProperty
Rotating gradient borderBasic

A glowing gradient spins around the edge of a card, a popular highlight for a featured plan or button.

/anim gradient-borderv4 CSS API
Copy feedbackBasic

Tap copy and the icon pops into a green check with a Copied label, then swaps back on its own.

/anim copy-feedbackZoomIn / ZoomOut
Password strength meterBasic

As you type, a bar grows and shifts from red to green, with the label updating to match.

/anim password-strengthtransitionProperty

Intermediate40 animations

Spring bounceIntermediate

Drop a view in with a bouncy spring. Tune damping for more or less bounce.

/anim spring-bouncewithSpring
Error shakeIntermediate

Shake an input horizontally when validation fails.

/anim shakewithSequence
Stagger listIntermediate

List items animate in one after another with an index-based delay.

/anim stagger-listFadeInUp
AccordionIntermediate

Expand and collapse content to its measured height, with a rotating chevron.

/anim accordionmeasure
Skeleton shimmerIntermediate

Loading placeholder with a highlight sweeping across.

/anim shimmeranimationName
Typing dotsIntermediate

Three dots bounce in sequence, like a chat typing indicator.

/anim typing-dotsv4 CSS API
Toggle switchIntermediate

Custom switch: the thumb springs across and the track changes color.

/anim toggle-switchv4 CSS API
Like burstIntermediate

Heart squashes, pops bigger and fills, with a ring bursting outward.

/anim like-burstwithSequence
Stroke drawIntermediate

Draw an SVG path line by line, like a signature or logo reveal.

/anim stroke-drawStroke animation
Activity ringsIntermediate

Three concentric progress rings fill up with an ease-out, like the Apple Watch rings.

/anim activity-ringsApple Activity
Breathe bloomIntermediate

Six petals expand outward and rotate in a slow in-out loop, for a breathing exercise.

/anim breatheHeadspace
Swipe to replyIntermediate

Drag a chat bubble right; a reply icon grows in and a haptic fires at the threshold.

/anim swipe-replyWhatsApp
Album headerIntermediate

Cover art shrinks and fades as you scroll; a compact title bar fades in on top.

/anim spotify-headerSpotify
Custom pull to refreshIntermediate

Pull the list down to reveal a growing, rotating icon; release past the threshold to refresh.

/anim pull-refreshGoogle Chrome
3D side menuIntermediate

The whole screen tilts back in 3D and slides right to reveal a menu behind it.

/anim perspective-menuMenu
Success checkmarkIntermediate

A circle springs in, then a checkmark draws itself. For payment or form success.

/anim success-checkwithSpring
Speed dial FABIntermediate

The plus button turns into an X while action buttons fan out above it, one after another.

/anim fab-menuv4 CSS API
Pager dotsIntermediate

Carousel indicator where the active dot stretches into a pill and follows your swipe.

/anim page-dotsuseAnimatedScrollHandler
Hide header on scrollIntermediate

The top bar slides away as you scroll down and comes back as soon as you scroll up.

/anim hide-headeruseAnimatedScrollHandler
Loading buttonIntermediate

On tap the button shrinks into a circle with a spinner, then grows back when the work is done.

/anim button-loadingv4 CSS API
Confetti burstIntermediate

Pieces shoot up from a point, spin, fall under gravity and fade, for wins and completed goals.

/anim confettiuseSharedValue
Segmented controlIntermediate

A raised thumb slides behind the selected option with a little overshoot, like the iOS control.

/anim segmented-controltransitionProperty
Auto-playing carouselIntermediate

Slides advance on a timer, pause while you drag, and the pager dots follow the live scroll position.

/anim auto-carouseluseAnimatedRef
Slide to confirmIntermediate

Drag the knob along the track to confirm. The fill follows your finger, and past the threshold it locks in, otherwise it springs back.

/anim slide-confirmGesture.Pan
Rolling digitsIntermediate

An odometer-style number: each digit is a column of 0 to 9 that springs to its new value.

/anim odometertransitionProperty
TooltipIntermediate

A small bubble with an arrow springs out of the element it points at, then shrinks back into it.

/anim tooltiptransitionProperty
Expanding searchIntermediate

A round search button stretches into a full search field and focuses it; cancel shrinks it back.

/anim expand-searchtransitionProperty
Filter chipsIntermediate

Tapping a chip fills it and grows a check mark, and the chips around it slide over to make room.

/anim chip-selectLinearTransition
Bubble tab barIntermediate

The active tab swells into a pill that shows its label, and the pill springs over to whichever tab you tap.

/anim tab-bubbleLinearTransition
Range sliderIntermediate

Two thumbs pick a minimum and maximum; each one stops at the other and the fill stretches between them.

/anim range-sliderGesture.Pan
JoystickIntermediate

A thumbstick you can drag anywhere inside its ring; let go and it springs back to the center.

/anim joystickGesture.Pan
Before / after sliderIntermediate

Drag a divider across two stacked images to reveal more of the edited version.

/anim image-compareGesture.Pan
Side drawerIntermediate

A navigation drawer you can drag open from the edge or flick shut, while the screen behind dims and shifts.

/anim side-drawerGesture.Pan
Code inputIntermediate

One-time-code boxes where each digit pops in as you type, the next box glows, and a wrong code shakes the row.

/anim otp-inputZoomIn
Scroll-to-top buttonIntermediate

A floating arrow springs up once you have scrolled down a way, and scrolls you back to the top when tapped.

/anim scroll-top-fabuseAnimatedScrollHandler
List / grid toggleIntermediate

Switch a list of cards into a two-column grid and every card glides and resizes into its new spot.

/anim layout-toggleLinearTransition
Keyboard-aware input barIntermediate

A chat input bar that rides up with the keyboard frame by frame instead of jumping when it opens.

/anim keyboard-avoiduseReanimatedKeyboardAnimation
3D tilt cardIntermediate

Press and move your finger on a card and it tilts toward you in 3D with a sliding glare, then springs flat.

/anim tilt-cardGesture.Pan
Gyroscope parallaxIntermediate

Layers of an illustration drift by different amounts as you tilt the phone, giving the picture depth.

/anim gyro-parallaxuseAnimatedSensor
Spinning prize wheelIntermediate

Tap spin and the wheel whips round and slowly winds down onto a prize, the pointer flicking as each segment passes.

/anim spin-wheelwithTiming

Advanced31 animations

Drag and snapAdvanced

Drag a view anywhere, then spring back to its origin on release.

/anim drag-snapGesture.Pan
Swipe card stackAdvanced

Tinder-style cards: drag past a threshold to fling off screen, otherwise snap back.

/anim swipe-stackGesture.Pan
Bottom sheetAdvanced

Drag-to-dismiss sheet with snap points and a velocity check.

/anim bottom-sheetGesture.Pan
3D card flipAdvanced

Flip a card to show its back face, using perspective and backface hiding.

/anim card-fliprotateY
Collapsing headerAdvanced

Header shrinks and its image moves slower than the list as you scroll.

/anim parallax-headeruseAnimatedScrollHandler
Pinch to zoomAdvanced

Pinch to scale an image with a min and max, combined with pan.

/anim pinch-zoomGesture.Pinch
Sliding tab indicatorAdvanced

An underline moves and resizes to match the selected tab, using measured layouts.

/anim tab-indicatoronLayout
Swipe to deleteAdvanced

Swipe a row left to reveal a delete action; collapse the row when removed.

/anim swipe-deleteGesture.Pan
Stories cubeAdvanced

Swipe between stories and they rotate like the faces of a 3D cube.

/anim stories-cubeInstagram
Bedtime circular sliderAdvanced

Drag a knob around a circle; the arc and the time label follow the angle.

/anim circular-sliderApple Bedtime
Mini to full playerAdvanced

A mini player bar expands into a full-screen player by dragging, and snaps open or closed.

/anim mini-playerSpotify
Liquid swipeAdvanced

Onboarding where the next page pours in from the edge as a bulging liquid shape.

/anim liquid-swipeLiquid Swipe
Price chart scrubAdvanced

Drag across a line chart; a cursor follows your finger and the price label updates on the UI thread.

/anim chart-scrubCoinbase
Card to full screenAdvanced

A thumbnail expands into the detail screen with a shared element transition; drag down to shrink it back.

/anim shared-expandSnapchat
Word bank dragAdvanced

Tap or drag word chips from a bank into a sentence line; they spring into their slots.

/anim word-dragDuolingo
Drag to reorder gridAdvanced

Long-press a tile, drag it over another, and the grid reshuffles around it.

/anim tab-reorderGoogle Chrome
Scroll-synced tabsAdvanced

Category tabs stick to the top and the active tab follows the section you're scrolling through.

/anim sticky-tabsUber Eats
iPod click wheelAdvanced

Turn a circular wheel with your finger to move a selection up and down a list, with a click on each step.

/anim click-wheeliPod
Jelly scrollAdvanced

List rows skew with scroll velocity and settle back with a spring, giving a wobbly feel.

/anim jelly-scrollJelly scroll
Wallet card stackAdvanced

Tap a card in a stack: it rises to the top and the rest collapse to the bottom.

/anim wallet-stackApple Wallet
Theme circle revealAdvanced

Switching to dark mode spreads out as a circle from the toggle, using a snapshot of the old screen.

/anim theme-revealTelegram
3D picker wheelAdvanced

A scrolling list that curves away in 3D like the iOS date picker, snapping to each row.

/anim picker-wheeliOS picker
Coverflow carouselAdvanced

Horizontal carousel where the centered item is large and flat, and the neighbors shrink and turn away.

/anim coverflowPhilz Coffee
Drag to reorder listAdvanced

Long-press a row to lift it, drag it up or down, and the other rows slide out of its way.

/anim reorder-listGesture.Pan
Sheet with receding screenAdvanced

As a modal sheet slides up, the screen behind it shrinks, rounds its corners and dims, like iOS page sheets.

/anim sheet-scaleGesture.Pan
Emoji reactionsAdvanced

Long-press Like to open a bar of reactions, slide your finger along it to magnify each one, and let go to pick.

/anim emoji-reactionsactivateAfterLongPress
Long-press context menuAdvanced

Hold a message and it shrinks under your finger, then lifts out above a dimmed screen with a menu springing from it.

/anim context-menuGesture.LongPress
Fly to cartAdvanced

Add to cart and a copy of the product image arcs across the screen into the cart icon, which bumps when it lands.

/anim fly-to-cartmeasure
Liquid fill progressAdvanced

A round progress gauge filled with liquid: the surface waves continuously while the level rises to the value.

/anim wave-filluseAnimatedProps
Spring chainAdvanced

Drag the lead bubble and a trail of smaller ones follows, each springing after the one in front of it.

/anim spring-chainuseDerivedValue
Shape morphAdvanced

A shape melts smoothly from a circle to a rounded square to an organic blob and back.

/anim shape-morphusePathInterpolation