Animation commands (React Native Reanimated). When I write "/anim ", implement that animation on the component I point to. - Default: react-native-reanimated v4 (New Architecture). Use the CSS animation/transition API for state-driven animations, and shared values + worklets (scheduleOnRN from react-native-worklets) for gestures and scroll. - "/anim @v3": use react-native-reanimated v3 instead (shared values, worklets, runOnJS), for apps on the old architecture. - Use react-native-gesture-handler v2 for gestures. Never use Animated from react-native. - "/anim @flutter": implement it in Flutter with the built-in animation framework (no packages). - "/anim @swiftui": implement it in SwiftUI (iOS 17+). - "/anim @compose": implement it in Jetpack Compose (Kotlin, Material 3). /anim fade-in — Fade a view from 0 to 1 opacity on mount. [v4: animationName, animationDuration, CSS animations] /anim slide-in — Slide a view in from the left while fading it in. [v4: animationName, transform keyframes, CSS animations] /anim press-scale — Shrink a button slightly while pressed, spring back on release. [v4: transitionProperty, transitionDuration, CSS transitions] /anim spin — Infinite linear rotation for a loading indicator. [v4: animationName, animationIterationCount, CSS animations] /anim pulse — A ring that expands and fades out behind a dot, on repeat. Good for live or recording states. [v4: animationName, animationIterationCount, CSS animations] /anim progress-bar — Animate a bar's width to a percentage value. [v4: transitionProperty, width %, CSS transitions] /anim color-shift — Smoothly blend between two colors based on state. [v4: transitionProperty, backgroundColor, CSS transitions] /anim entering-preset — Use built-in layout animations for mount and unmount, no shared values needed. [v4: FadeInDown, FadeOut, layout] /anim spring-bounce — Drop a view in with a bouncy spring. Tune damping for more or less bounce. [v4: withSpring, damping, stiffness] /anim shake — Shake an input horizontally when validation fails. [v4: withSequence, withRepeat] /anim stagger-list — List items animate in one after another with an index-based delay. [v4: FadeInUp, delay(index)] /anim accordion — Expand and collapse content to its measured height, with a rotating chevron. [v4: measure, useDerivedValue] /anim shimmer — Loading placeholder with a highlight sweeping across. [v4: animationName, translateX %, LinearGradient] /anim typing-dots — Three dots bounce in sequence, like a chat typing indicator. [v4: animationName, animationDelay, CSS animations] /anim toggle-switch — Custom switch: the thumb springs across and the track changes color. [v4: transitionProperty, cubicBezier, CSS transitions] /anim like-burst — Heart squashes, pops bigger and fills, with a ring bursting outward. [v4: withSequence, withSpring] /anim drag-snap — Drag a view anywhere, then spring back to its origin on release. [v4: Gesture.Pan, useSharedValue, withSpring] /anim swipe-stack — Tinder-style cards: drag past a threshold to fling off screen, otherwise snap back. [v4: Gesture.Pan, scheduleOnRN, interpolate] /anim bottom-sheet — Drag-to-dismiss sheet with snap points and a velocity check. [v4: Gesture.Pan, clamp, withSpring] /anim card-flip — Flip a card to show its back face, using perspective and backface hiding. [v4: rotateY, perspective, backfaceVisibility] /anim parallax-header — Header shrinks and its image moves slower than the list as you scroll. [v4: useAnimatedScrollHandler, interpolate, Extrapolation] /anim pinch-zoom — Pinch to scale an image with a min and max, combined with pan. [v4: Gesture.Pinch, Gesture.Simultaneous] /anim tab-indicator — An underline moves and resizes to match the selected tab, using measured layouts. [v4: onLayout, withSpring, width] /anim swipe-delete — Swipe a row left to reveal a delete action; collapse the row when removed. [v4: Gesture.Pan, activeOffsetX, exiting] /anim ripple — A circle grows from the exact tap point and fades out, clipped to the button. (like Material) [v4: Gesture.Tap, withTiming] /anim dvd-bounce — Bounce a logo off the screen edges forever by running X and Y as two independent ping-pong timings. (like DVD screensaver) [v4: withRepeat, Easing.linear, useAnimatedReaction] /anim stroke-draw — Draw an SVG path line by line, like a signature or logo reveal. (like Stroke animation) [v4: useAnimatedProps, strokeDashoffset, react-native-svg] /anim activity-rings — Three concentric progress rings fill up with an ease-out, like the Apple Watch rings. (like Apple Activity) [v4: useAnimatedProps, strokeDashoffset, react-native-svg] /anim breathe — Six petals expand outward and rotate in a slow in-out loop, for a breathing exercise. (like Headspace) [v4: withRepeat, Easing.inOut, trigonometry] /anim swipe-reply — Drag a chat bubble right; a reply icon grows in and a haptic fires at the threshold. (like WhatsApp) [v4: Gesture.Pan, failOffsetY, scheduleOnRN] /anim spotify-header — Cover art shrinks and fades as you scroll; a compact title bar fades in on top. (like Spotify) [v4: useAnimatedScrollHandler, interpolate] /anim pull-refresh — Pull the list down to reveal a growing, rotating icon; release past the threshold to refresh. (like Google Chrome) [v4: useAnimatedScrollHandler, onEndDrag, scheduleOnRN] /anim perspective-menu — The whole screen tilts back in 3D and slides right to reveal a menu behind it. (like Menu) [v4: perspective, rotateY, withSpring] /anim stories-cube — Swipe between stories and they rotate like the faces of a 3D cube. (like Instagram) [v4: useAnimatedScrollHandler, rotateY, perspective] /anim circular-slider — Drag a knob around a circle; the arc and the time label follow the angle. (like Apple Bedtime) [v4: Gesture.Pan, Math.atan2, useAnimatedProps] /anim mini-player — A mini player bar expands into a full-screen player by dragging, and snaps open or closed. (like Spotify) [v4: Gesture.Pan, withSpring, interpolate] /anim liquid-swipe — Onboarding where the next page pours in from the edge as a bulging liquid shape. (like Liquid Swipe) [v4: Gesture.Pan, useAnimatedProps, SVG Path] /anim chart-scrub — Drag across a line chart; a cursor follows your finger and the price label updates on the UI thread. (like Coinbase) [v4: Gesture.Pan, useDerivedValue, ReText] /anim shared-expand — A thumbnail expands into the detail screen with a shared element transition; drag down to shrink it back. (like Snapchat) [v4: sharedTransitionTag, Gesture.Pan, native-stack] /anim word-drag — Tap or drag word chips from a bank into a sentence line; they spring into their slots. (like Duolingo) [v4: Gesture.Pan, Gesture.Exclusive, onLayout] /anim tab-reorder — Long-press a tile, drag it over another, and the grid reshuffles around it. (like Google Chrome) [v4: activateAfterLongPress, useAnimatedReaction, shared map] /anim sticky-tabs — Category tabs stick to the top and the active tab follows the section you're scrolling through. (like Uber Eats) [v4: useAnimatedScrollHandler, useDerivedValue, scrollTo] /anim click-wheel — Turn a circular wheel with your finger to move a selection up and down a list, with a click on each step. (like iPod) [v4: Gesture.Pan, Math.atan2, useAnimatedReaction] /anim jelly-scroll — List rows skew with scroll velocity and settle back with a spring, giving a wobbly feel. (like Jelly scroll) [v4: useAnimatedScrollHandler, velocity, skewY] /anim wallet-stack — Tap a card in a stack: it rises to the top and the rest collapse to the bottom. (like Apple Wallet) [v4: withSpring, Gesture.Tap, derived layout] /anim theme-reveal — Switching to dark mode spreads out as a circle from the toggle, using a snapshot of the old screen. (like Telegram) [v4: makeImageFromView, Skia Mask, withTiming] /anim picker-wheel — A scrolling list that curves away in 3D like the iOS date picker, snapping to each row. (like iOS picker) [v4: snapToInterval, rotateX, perspective] /anim coverflow — Horizontal carousel where the centered item is large and flat, and the neighbors shrink and turn away. (like Philz Coffee) [v4: useAnimatedScrollHandler, rotateY, snapToInterval] /anim count-up — Count a number up from 0 to its value, for stats, balances and scores. [v4: useAnimatedProps, withTiming, TextInput text prop] /anim toast — Slide a message in from the top, hold it, then slide it away on its own. [v4: SlideInUp, SlideOutUp, entering / exiting] /anim menu-morph — Three hamburger lines morph into a close X: the middle fades, the outer two rotate. [v4: transitionProperty, transform, CSS transitions] /anim floating-label — The placeholder shrinks and floats above the input when it's focused or filled. [v4: transitionProperty, transform, CSS transitions] /anim marquee — A row of items scrolls sideways forever and loops without a seam. Good for logos and tickers. [v4: animationName, animationIterationCount, CSS animations] /anim success-check — A circle springs in, then a checkmark draws itself. For payment or form success. [v4: withSpring, withDelay, useAnimatedProps, react-native-svg] /anim fab-menu — The plus button turns into an X while action buttons fan out above it, one after another. [v4: transitionDelay, cubicBezier, CSS transitions] /anim page-dots — Carousel indicator where the active dot stretches into a pill and follows your swipe. [v4: useAnimatedScrollHandler, interpolate, useAnimatedStyle] /anim hide-header — The top bar slides away as you scroll down and comes back as soon as you scroll up. [v4: useAnimatedScrollHandler, useSharedValue, translateY] /anim button-loading — On tap the button shrinks into a circle with a spinner, then grows back when the work is done. [v4: transitionProperty, FadeIn / FadeOut, CSS transitions] /anim confetti — Pieces shoot up from a point, spin, fall under gravity and fade, for wins and completed goals. [v4: useSharedValue, withSequence, useAnimatedStyle] /anim star-rating — Tap a star and every star up to it fills in, each one popping with a short stagger. [v4: animationName, keyframes, transitionProperty] /anim badge-bounce — When the unread count goes up, the badge pops and the bell gives a little wiggle. [v4: animationName, keyframes, key remount] /anim scroll-progress — A thin bar at the top fills as you read down an article, tied directly to the scroll offset. [v4: useAnimatedScrollHandler, useAnimatedStyle, scaleX] /anim segmented-control — A raised thumb slides behind the selected option with a little overshoot, like the iOS control. [v4: transitionProperty, cubicBezier, percentage left] /anim skeleton-crossfade — A pulsing placeholder holds the layout while loading, then crossfades into the real content in place. [v4: FadeIn, FadeOut, animationIterationCount] /anim auto-carousel — Slides advance on a timer, pause while you drag, and the pager dots follow the live scroll position. [v4: useAnimatedRef, useAnimatedScrollHandler, interpolate] /anim reorder-list — Long-press a row to lift it, drag it up or down, and the other rows slide out of its way. [v4: Gesture.Pan, activateAfterLongPress, useAnimatedReaction] /anim sheet-scale — As a modal sheet slides up, the screen behind it shrinks, rounds its corners and dims, like iOS page sheets. [v4: Gesture.Pan, interpolate, withSpring] /anim slide-confirm — Drag the knob along the track to confirm. The fill follows your finger, and past the threshold it locks in, otherwise it springs back. [v4: Gesture.Pan, withSpring, interpolate, scheduleOnRN] /anim typewriter — Text types itself out one character at a time while a caret blinks at the end. [v4: animationName, steps(), CSS animations] /anim word-rotate — One word in a headline cycles through options, each sliding up and out as the next slides in. [v4: FadeInUp, FadeOutUp, key remount] /anim text-reveal — A headline fades in word by word, each word rising into place a beat after the one before. [v4: animationName, animationDelay, CSS animations] /anim wave-bars — A few bars bounce up and down out of step, the classic now-playing or voice-input indicator. [v4: animationName, animationDelay, animationDirection] /anim spinner-arc — The Material-style loader: an arc that spins while it stretches and shrinks. [v4: animationName, useAnimatedProps, Easing.bezier] /anim checkbox — The box fills with color, gives a small bounce, and the check mark draws itself in. [v4: transitionProperty, useAnimatedProps, withTiming] /anim stepper — Plus and minus buttons where the number rolls in from the direction you pressed. [v4: Keyframe, entering / exiting, key remount] /anim step-progress — A checkout-style progress line fills between steps and each dot lights up as it is reached. [v4: transitionProperty, percentage width, transitionDelay] /anim gradient-border — A glowing gradient spins around the edge of a card, a popular highlight for a featured plan or button. [v4: animationName, animationIterationCount, CSS animations] /anim copy-feedback — Tap copy and the icon pops into a green check with a Copied label, then swaps back on its own. [v4: ZoomIn / ZoomOut, FadeIn / FadeOut, key remount] /anim password-strength — As you type, a bar grows and shifts from red to green, with the label updating to match. [v4: transitionProperty, percentage width, backgroundColor transition] /anim odometer — An odometer-style number: each digit is a column of 0 to 9 that springs to its new value. [v4: transitionProperty, transform transition, cubicBezier] /anim tooltip — A small bubble with an arrow springs out of the element it points at, then shrinks back into it. [v4: transitionProperty, transformOrigin, cubicBezier] /anim expand-search — A round search button stretches into a full search field and focuses it; cancel shrinks it back. [v4: transitionProperty, width transition, transitionDelay] /anim chip-select — Tapping a chip fills it and grows a check mark, and the chips around it slide over to make room. [v4: LinearTransition, ZoomIn / ZoomOut, transitionProperty] /anim tab-bubble — The active tab swells into a pill that shows its label, and the pill springs over to whichever tab you tap. [v4: LinearTransition, FadeIn / FadeOut, layout] /anim range-slider — Two thumbs pick a minimum and maximum; each one stops at the other and the fill stretches between them. [v4: Gesture.Pan, useSharedValue, scheduleOnRN] /anim joystick — A thumbstick you can drag anywhere inside its ring; let go and it springs back to the center. [v4: Gesture.Pan, withSpring, useDerivedValue] /anim image-compare — Drag a divider across two stacked images to reveal more of the edited version. [v4: Gesture.Pan, useAnimatedStyle, overflow hidden] /anim side-drawer — A navigation drawer you can drag open from the edge or flick shut, while the screen behind dims and shifts. [v4: Gesture.Pan, withSpring, scheduleOnRN] /anim otp-input — One-time-code boxes where each digit pops in as you type, the next box glows, and a wrong code shakes the row. [v4: ZoomIn, animationName, transitionProperty] /anim scroll-top-fab — A floating arrow springs up once you have scrolled down a way, and scrolls you back to the top when tapped. [v4: useAnimatedScrollHandler, useDerivedValue, withSpring] /anim layout-toggle — Switch a list of cards into a two-column grid and every card glides and resizes into its new spot. [v4: LinearTransition, layout, springify] /anim keyboard-avoid — A chat input bar that rides up with the keyboard frame by frame instead of jumping when it opens. [v4: useReanimatedKeyboardAnimation, react-native-keyboard-controller, translateY] /anim tilt-card — Press and move your finger on a card and it tilts toward you in 3D with a sliding glare, then springs flat. [v4: Gesture.Pan, perspective, rotateX / rotateY] /anim gyro-parallax — Layers of an illustration drift by different amounts as you tilt the phone, giving the picture depth. [v4: useAnimatedSensor, SensorType.ROTATION, withSpring] /anim emoji-reactions — Long-press Like to open a bar of reactions, slide your finger along it to magnify each one, and let go to pick. [v4: activateAfterLongPress, useDerivedValue, scheduleOnRN] /anim context-menu — Hold a message and it shrinks under your finger, then lifts out above a dimmed screen with a menu springing from it. [v4: Gesture.LongPress, measure, scheduleOnRN] /anim fly-to-cart — Add to cart and a copy of the product image arcs across the screen into the cart icon, which bumps when it lands. [v4: measure, useAnimatedRef, scheduleOnRN] /anim wave-fill — A round progress gauge filled with liquid: the surface waves continuously while the level rises to the value. [v4: useAnimatedProps, withRepeat, ClipPath] /anim spring-chain — Drag the lead bubble and a trail of smaller ones follows, each springing after the one in front of it. [v4: useDerivedValue, withSpring, Gesture.Pan] /anim shape-morph — A shape melts smoothly from a circle to a rounded square to an organic blob and back. [v4: usePathInterpolation, Skia.Path, withRepeat] /anim spin-wheel — Tap spin and the wheel whips round and slowly winds down onto a prize, the pointer flicking as each segment passes. [v4: withTiming, useAnimatedReaction, scheduleOnRN]