Mobile App Micro-Animations: Make Your UI Responsive

TRUETECH is engaged in the development, support and maintenance of iOS, Android, PWA mobile applications. We have extensive experience and expertise in publishing mobile applications in popular markets like Google Play, App Store, Amazon, AppGallery and others.

Development and support of all types of mobile applications:

Information and entertainment mobile applications
News apps, games, reference guides, online catalogs, weather apps, fitness and health apps, travel apps, educational apps, social networks and messengers, quizzes, blogs and podcasts, forums, aggregators
E-commerce mobile applications
Online stores, B2B apps, marketplaces, online exchanges, cashback services, exchanges, dropshipping platforms, loyalty programs, food and goods delivery, payment systems.
Business process management mobile applications
CRM systems, ERP systems, project management, sales team tools, financial management, production management, logistics and delivery management, HR management, data monitoring systems
Electronic services mobile applications
Classified ads platforms, online schools, online cinemas, electronic service platforms, cashback platforms, video hosting, thematic portals, online booking and scheduling platforms, online trading platforms

These are just some of the types of mobile applications we work with, and each of them may have its own specific features and functionality, tailored to the specific needs and goals of the client.

Showing 1 of 1All 1734 services
Mobile App Micro-Animations: Make Your UI Responsive
Medium
~2-3 days
Frequently Asked Questions

Our competencies:

Development stages

Latest works

  • image_mobile-applications_feedme_467_0.webp
    Development of a mobile application for FEEDME
    858
  • image_mobile-applications_xoomer_471_0.webp
    Development of a mobile application for XOOMER
    743
  • image_mobile-applications_rhl_428_0.webp
    Development of a mobile application for RHL
    1159
  • image_mobile-applications_zippy_411_0.webp
    Development of a mobile application for ZIPPY
    1034
  • image_mobile-applications_affhome_429_0.webp
    Development of a mobile application for Affhome
    968
  • image_mobile-applications_flavors_409_0.webp
    Development of a mobile application for the FLAVORS company
    562

A button without visual feedback feels broken — users tap again, and the app processes a double tap. Micro-animations for mobile app interface elements solve this by making the UI responsive and intuitive. Based on our project experience — 5+ years on the market, 20+ implementations — quality micro-animations boost engagement by 30–40% and reduce erroneous taps by 20%.

Why micro-animations matter for the user

Users don't think about animation until it stops working. When a button 'sticks' or a toggle triggers without visual confirmation, trust in the app drops. Micro-animations solve specific tasks: confirming an action, drawing attention to a status change, smooth transitions between states. As recommended by Apple Human Interface Guidelines, use spring animations for interactive elements to convey physicality and predictability.

How to choose the right animation for a UI element

Choice depends on the element type and context. For buttons, the primary animation is scale on press (0.92–0.96) with a return spring. For icons, symbolic effects (bounce, pulse, variable color) or Lottie. For screen transitions — slide, fade, scale with custom curves. Below are comparison tables:

Platform Tool Performance Learning Curve Customization Ease
iOS (UIKit) UIView.animate Excellent (GPU) Medium High
iOS (SwiftUI) withAnimation + symbolEffect Excellent (Metal) Low Medium
Android (Compose) animateFloatAsState Excellent (GPU) Medium High
Cross-platform Lottie Good (with .lottie compression) Low Limited
Element Recommended Animation Duration (ms) Spring Parameters
Button scale (0.94) + spring 120–300 damping 0.6, velocity 8
Icon symbolEffect (bounce) 200
Badge scaleIn + fadeIn 150 damping 0.5
Toggle slide + color transition 200 stiffness 300

Implementation on iOS: from UIKit to SwiftUI

UIKit: scale + haptics = proper tap

Minimal feedback implementation on UIButton:

class SpringButton: UIButton {
    override func touchesBegan(_ touches: Set<UITouch>, with event: UIEvent?) {
        super.touchesBegan(touches, with: event)
        UIImpactFeedbackGenerator(style: .light).impactOccurred()
        UIView.animate(
            withDuration: 0.12,
            delay: 0,
            usingSpringWithDamping: 0.6,
            initialSpringVelocity: 8,
            options: [.allowUserInteraction]
        ) {
            self.transform = CGAffineTransform(scaleX: 0.94, y: 0.94)
        }
    }

    override func touchesEnded(_ touches: Set<UITouch>, with event: UIEvent?) {
        super.touchesEnded(touches, with: event)
        UIView.animate(
            withDuration: 0.3,
            delay: 0,
            usingSpringWithDamping: 0.45,
            initialSpringVelocity: 6,
            options: [.allowUserInteraction]
        ) {
            self.transform = .identity
        }
    }
}

The .allowUserInteraction flag is mandatory. Without it, the button won't respond to taps while animating, creating a 'sticky' feel.

SwiftUI: symbolic animations and keyframes

SF Symbols 5 (iOS 17+) provide symbolEffect(_:) — ready-made animations for system icons:

Image(systemName: "heart.fill")
    .symbolEffect(.bounce, value: isLiked)
    .symbolEffect(.variableColor.iterative.reversing, isActive: isLoading)

.bounce — one spring bounce when isLiked changes. No need to write animation manually.

For complex multi-step micro-animations — KeyframeAnimator:

KeyframeAnimator(initialValue: CheckmarkState()) { value in
    Circle()
        .scaleEffect(value.scale)
        .opacity(value.opacity)
} keyframes: { _ in
    KeyframeTrack(\.scale) {
        LinearKeyframe(0.0, duration: 0.05)
        SpringKeyframe(1.2, duration: 0.2, spring: .bouncy)
        SpringKeyframe(1.0, duration: 0.15)
    }
    KeyframeTrack(\.opacity) {
        LinearKeyframe(0.0, duration: 0.05)
        LinearKeyframe(1.0, duration: 0.1)
    }
}

This pattern animates a checkmark after a success action — scale+opacity simultaneously with different curves.

Android: Jetpack Compose and AnimatedVisibility

In Compose, micro-animations are built with animateFloatAsState, animateColorAsState, and updateTransition:

val scale by animateFloatAsState(
    targetValue = if (isPressed) 0.93f else 1f,
    animationSpec = spring(
        dampingRatio = Spring.DampingRatioMediumBouncy,
        stiffness = Spring.StiffnessHigh
    ),
    label = "button_scale"
)

Box(modifier = Modifier
    .scale(scale)
    .clickable(
        interactionSource = interactionSource,
        indication = null  // remove ripple, replace with spring
    ) { onClick() }
)

indication = null removes the standard ripple. This is debatable: Material Design 3 expects ripple as default. Remove it only when you have a complete replacement.

AnimatedVisibility with custom enter/exit for element appearance:

AnimatedVisibility(
    visible = showBadge,
    enter = scaleIn(
        animationSpec = spring(Spring.DampingRatioLowBouncy),
        transformOrigin = TransformOrigin(1f, 0f)
    ) + fadeIn(),
    exit = scaleOut(transformOrigin = TransformOrigin(1f, 0f)) + fadeOut()
) {
    Badge { Text(count.toString()) }
}

TransformOrigin(1f, 0f) — animation from the top-right corner, like notification badges.

Lottie for icons with states

When a designer wants a complex icon — like, favorite, toggle with custom track — Lottie is easier than writing it programmatically. The animator exports JSON via Bodymovin from After Effects, integrated via lottie-ios or lottie-android. Lottie's problem: files can be heavy. 200 KB JSON for a favorite icon is too much. Optimize using dotLottie format (.lottie — ZIP archive) or remove unneeded layers in the editor. More about the format can be found in the Wikipedia article on Lottie.

Common mistakes

  • Animating backgroundColor directly via UIView — this is a Core Animation CATransaction without GPU acceleration for color. Correct: change via UIView.animate or use CABasicAnimation on the layer's backgroundColor.
  • Forgetting about reduceMotion. On iOS check UIAccessibility.isReduceMotionEnabled, on Android check Settings.Global.TRANSITION_ANIMATION_SCALE. Users with vestibular disorders disable animations. Respect this: if reduceMotion is active, replace complex animations with a simple fade or disable them entirely.
How to check animation performance? Use Xcode Instruments (iOS) or Android Profiler to measure frame time. Ensure animations don't cause layout redraws. For Lottie, verify frame rate doesn't drop below 60 FPS. If it does, compress JSON or reduce layer count.

Process

  1. Collect UI inventory: all interactive elements in the app (average 10–15).
  2. Align with designer: which elements animate, what feeling to convey (confidence, lightness, urgency).
  3. Develop animation library — reusable components for each type.
  4. Add haptic feedback where appropriate.
  5. Test with reduceMotion and optimize performance.
  6. Integrate into project and test on real devices.

What the work includes

  • Audit of current interactive UI elements
  • Agreement on animation scenarios with the designer
  • Development of reusable component library (iOS/Android)
  • Integration of haptic feedback
  • Testing on physical devices
  • Documentation and design guidelines
  • Post-launch support

Timeline and budget

A micro-animation library for 10–15 UI elements takes 2–3 working days. If Lottie animations from scratch (JSON creation by an animator) are needed, that's a separate phase of 1–3 days. We provide project evaluation for free and offer optimal timelines.

Contact us for an assessment — we'll help make your interface responsive and enjoyable for users. Order micro-animations turnkey and get a consultation from our engineer.

Animations in Mobile Apps: Lottie, Rive, Spring, and Reanimated

We've built animations for dozens of projects — from game interfaces to bank-grade applications. We know how to achieve 120 fps even on Android with ProGuard. If an animation stutters, the problem isn't the tool but the approach. Below we show how we choose between Lottie and Rive, why Spring physics beats UIView.animate, and how Reanimated 3 pushes 60 fps on older devices. Get a consultation for your project — we'll assess the animation layer for free.

Why does UIView.animate break on complex scenarios?

UIView.animate(withDuration:) and ObjectAnimator on Android are fine for simple transitions. But as soon as the animation becomes interactive (user drags an element, speed depends on gesture), a different approach is needed.

On iOS, the right tool for gesture-driven animation is UIViewPropertyAnimator. It allows pausing, reversing, and modifying the animation in progress. A typical use case: a bottom sheet that follows the finger, continues with inertia after release, and snaps to the nearest position. With UIView.animate, this is either not possible or requires manual physics.

In SwiftUI, withAnimation works out of the box, but interactivity is limited — there's no direct analog to UIViewPropertyAnimator. A workaround is using .gesture(DragGesture()) + @GestureState + explicit position calculation. Or move to SwiftUI Animations API with Animation.spring(duration:bounce:) from iOS 17.

How does React Native Reanimated bypass the JS bridge?

React Native Animated API executes animations on the JS thread — this causes jank when the bridge is busy. Reanimated 3 solves this with worklets: functions that compile and run directly on the UI thread without crossing the JS bridge.

Example: parallax scroll header. With basic Animated.Value, fast scrolling drops FPS to 40-45 on mid-range Android. With Reanimated using useAnimatedScrollHandler, it stays at a stable 60 fps because all position calculations happen on the UI thread.

Reanimated 3 with useSharedValue, useAnimatedStyle, and withSpring/withTiming is the current standard for animations in React Native. Gesture Handler v2 is tightly integrated: useAnimatedGestureHandler replaces PanResponder and also runs on the UI thread.

Why can Lottie reduce FPS on Android?

Lottie exports After Effects animation as JSON. On iOS with lottie-ios it's stable, but on Android, complex effects (blur, particles, gradients) via Canvas rendering can cause drops to 30-40 fps. The solution: either simplify the animation or use Rive with hardware rendering. We tested: a 5 MB Lottie file with blur on Xiaomi Redmi Note 10 gave 48 fps, while the same animation in Rive (.riv 400 KB) gave 60 fps.

Lottie vs Rive: What to choose for interactive interfaces?

Both tools solve the task of "designer creates animation, developer adds the file." But they differ fundamentally.

Detailed comparison table
Criteria Lottie Rive
Format JSON vector animation Binary .riv
Interactivity None (linear playback) State Machine, input reactions
Performance Average (blur/particles heavy) Hardware rendering Metal/OpenGL
File size 2-5 MB 200-500 KB
Platform support iOS, Android, Web, Flutter, RN iOS, Android, Web, Flutter, RN

The choice is simple: static decorative animation (splash screen, onboarding illustrations) — Lottie. Interactive UI elements with states — Rive. For example, a button with hover, pressed, loading, success states — one Rive animation with four states versus four separate Lottie files.

Spring physics and Hero transitions: how to achieve naturalness?

Spring animation feels natural because it simulates physics — mass, stiffness, and damping. In SwiftUI: Animation.spring(response:dampingFraction:). In Android Compose: spring(dampingRatio = Spring.DampingRatioMediumBouncy).

For Hero transitions (an element "flies" between screens), on iOS use UIViewControllerTransitioningDelegate + UIViewControllerAnimatedTransitioning. In SwiftUI with iOS 17 — matchedTransitionSource + navigationTransition(.zoom). On Flutter — Hero widget, which works out of the box.

How to avoid common mistakes in Hero transitions?

The animation starts fine, but on the target screen the element "jumps" to the final position. The reason: AutoLayout constraints are applied before the animation completes. Solution: call layoutIfNeeded() inside the animation block or use transform instead of frame changes.

What's included: animation layer turnkey

  • Integration of Lottie/Rive files into the design system
  • Code for gesture-driven transitions (bottom sheets, drawers, carousels)
  • Testing on real devices (iOS 15–17, Android 10–14)
  • Animation documentation (architecture, state keys)
  • Support for design updates (30-day warranty)

We have 5+ years of experience in mobile development, over 30 projects with animations, certified iOS/Android developers.

Timelines

  • Basic screen transitions and micro-interactions — 1 week.
  • Lottie/Rive integration with design system — 3-5 days after receiving final files.
  • Custom gesture-driven interactivity (sheet, drawer, physics carousel) — 1-2 weeks.

Contact us — we'll add animations turnkey in 2 weeks. First consultation is free.