SwiftUI animations
Animated SwiftUI components with the motion already tuned: springs, gesture physics, transitions and morphs you copy into your app.
About these pieces
One self-contained Swift file each, Apple frameworks only, from iOS 17.
Good motion in SwiftUI is mostly springs and state: a spring that hands off the finger's velocity, transitions that agree on one clock, and an animation that respects Reduce Motion. Every piece in this collection is animated that way, and each one documents its spring values and thresholds in its notes.
Start with Swipe Deck and Flip Card for gesture-driven motion, Text Reveal and Odometer for type and numbers, Status Morph and Commit Button for state changes, and Depth Carousel and Stretch Header for scroll-driven motion.
Learn the technique: SwiftUI motion guide, SwiftUI animations guide, SwiftUI cards guide.
Questions
How the pieces work, and how to build the same thing yourself. Every piece's page has its full notes.
What is the best animation to use in SwiftUI?
Springs, in most cases. .spring(duration:bounce:) (iOS 17) is easy to tune, continues smoothly from a gesture's velocity and never ends abruptly. Use easing curves for fades and progress that should not overshoot.
Do these animations respect Reduce Motion?
Yes. Each piece reads accessibilityReduceMotion and swaps large movement for fades or no motion, as described on its page.
Keep browsing
Nearby collections, then every category in the library.
- Cards5Cards with depth, motion, parallax and gesture-driven stacks.
- Motion1Gesture modifiers with real physics.
- Haptics33Pieces that tick, tap and confirm at the moment that matters.
- Text4Type that reveals, expands, holds pictures and renders as glass.
- Backgrounds2Quiet atmospheres: a Metal silk shader and a touch-reactive dot grid.
- Liquid Glass5Correct iOS 26 Liquid Glass with Material fallbacks.
- Buttons and controls7Buttons and dials with press depth, hold, drag and outcome states.
- Inputs and forms17Tracks, steppers, rails and fields built for the thumb, down to addresses, map pins and signatures.
- Lists7Rows, grids and carousels with swipe, drag-to-select, follow-the-latest and completion physics.
- Navigation7Floating docks, tracking tabs, stretchy headers and an A to Z index.
- Sheets5Toasts, confirmations, permission moments and guided tours.
- Feedback5Reactions, ratings, status morphs, skeletons and outcomes.
- Data and charts6Scrubbable charts, rings, streak heatmaps, live stats and odometers.
- AI6Streaming replies, thinking states, prompt chips and answer sources.
- Media8Photo viewing and cropping, story playback, attachments and link previews.
Ready to build something better?
85 pieces, one file each, yours to keep. Start with the library or see what the whole app looks like.