Lottie or Rive

Animated Icons for iOS / Swift

iOS apps can use Lottie via the official Lottie Swift package, or Rive via the Rive iOS runtime. Both are installed through Swift Package Manager and require no additional setup. Lottie renders JSON animations using LottieAnimationView, while Rive uses RiveViewModel with full state machine support for hover and tap interactions — ideal for interactive icon buttons.

Quick start

1

Install github.com/airbnb/lottie-ios

// Xcode → Project → Package Dependencies → Add Package
// https://github.com/airbnb/lottie-ios
2

Add the animation

import Lottie

let animationView = LottieAnimationView(name: "your_icon")
animationView.contentMode = .scaleAspectFit
animationView.loopMode = .loop
animationView.play()
view.addSubview(animationView)

Browse by category

Animated icons across 22 categories, all available in Lottie or Rive format.

Other platforms