Skip to main content

Airbnb’s Lottie helps fellow developers add animations to their apps

Airbnb might be best known for short-term rentals, but its engineers also created Lottie, which could be a handy tool for developers who want to incorporate fancy-looking animations to their native apps.

Created by Airbnb engineers as a side project, Lottie lets developers incorporate After Effects animations in real time without the need to rewrite them. At the time of this writing, Lottie supports masks, alpha mattes, trim paths, solids, and dash patterns, with more being added “on a regular basis.” There is also an optional caching mechanism that allows frequently used animations to load faster.

Recommended Videos

“Lottie allows engineers to build richer animations without the painstaking overhead of rewriting them,” wrote the team in a blog post. “With Lottie, digging through frameworks for reference, guessing durations, manually creating Bézier curves, and remaking animations with nothing more than a GIF for reference will be a thing of the past.”

The end result are animations that are visually pleasing and have a sense of life and energy to them, factors which Airbnb engineers hope will lead to increased engagement or interactivity for developers’ apps. You might even see Airbnb incorporate Lottie into its own app, so do not be surprised if you see more animations with a future update.

Airbnb engineers did recognize that other libraries similar to Lottie already exist, such as Facebook’s Keyframes and Marcus Eckert’s Squall. With Keyframes, though, Facebook picked a small set of After Effect features to support for its reactions, while Airbnb engineers want to incorporate as many features as possible within Lottie. Squall, meanwhile, is used in combination with Lottie, but the former only supports iOS, and Airbnb engineers wanted Lottie to be cross-platform.

Lottie is currently available for iOS, Android, and React Native.

Williams Pelegrin
Former Digital Trends Contributor
Williams is an avid New York Yankees fan, speaks Spanish, resides in Colorado, and has an affinity for Frosted Flakes. Send…
The Google app on your Android phone is getting a helpful new feature
Google app on Android beta showing Notifications.

The Google app for Android phones is getting a helpful new feature to make search even better. The latest beta has a dedicated "Notifications" feed in its bottom bar. The feature was first introduced on the mobile version of Google for Android earlier this year. The app feature was first noticed by 9to5Google.

The app now includes a Notifications option at the bottom, next to Discover, Search, and Saved items. The Notifications section displays a continuous list of alerts from Google Search, weather conditions, flight information, sports scores, movies and TV shows, and more. The notifications are grouped under “Today” and “Earlier." This feature should prove handy if you miss a notification from the Google app, as it provides a more focused view than Android's system-level history.

Read more
Apple may have already killed Android’s newest iMessage app, Beeper Mini
Splash screen of Beeper Mini app.

The inevitable has happened, it seems. Beeper Mini, the reverse-engineered app that brought iMessage to Android with a blue bubble hack, has apparently run into an official Apple roadblock. Within the past couple of hours, multiple users have posted online that Beeper Mini texts are not passing through.

Well, it appears that Apple is somehow blocking server access. When asked whether Apple was responsible for the outage, founder Eric Migicovsky said it was likely the case. “Yes, all data indicates that,” Migicovsky told TechCrunch.

Read more
These developers are doing something amazing with iPhone and iPad apps
Apple App Store Awards 2023 logo.

Every year, Apple announces the winners of its App Store Awards. In 2023, it recognized 14 titles across five platforms: iPhone, iPad, Mac, Apple Watch, and Apple TV. These titles are not only considered the "best" from a design standpoint, but they have also positively contributed to the world in some way.

Recently, I had the privilege of meeting with the teams behind three of these award-winning apps. At first glance, AllTrails, Prêt-à-Makeup, and Pok Pok may seem vastly different, but as I discovered, they all have at least one thing in common: inclusivity. Each also looks pretty sweet on an iPhone 15, iPad Air, and other Apple devices.

Read more