LottieFiles/dotlottie-react-native
Official LottieFiles player for Lottie & dotLottie in React Native. Expo-ready, New Architecture support, iOS/Android/Web.
Thành tựu nổi bật
Những danh hiệu mới nhất của dự án
#1 Repository của tuần
#1 Repository của tuần
#1 Repository của tuần
🎬 dotlottie-react-native: Trình phát Lottie & dotLottie chính thức cho React Native
Trình phát Lottie & dotLottie chính thức từ LottieFiles, hỗ trợ React Native kể cả iOS, Android, Web và Expo, đồng thời tương thích New Architecture.
@lottiefiles/dotlottie-react-native là thành phần React Native chính thức từ LottieFiles, cho phép tích hợp và phát lại các file định dạng Lottie .json và dotLottie .lottie trên cả ba nền tảng: iOS, Android và Web. Thư viện hỗ trợ cả Expo (qua config plugin withDotLottie) và New Architecture (Fabric/Paper), giúp các nhà phát triển dễ dàng thêm hoạt họa động vào ứng dụng di động mà không cần lo lắng về sự tương thích nền tảng.
✨ Điểm nổi bật
- Hỗ trợ đa nền tảng: iOS, Android, Web (React Native Web)
- Tương thích New Architecture: Legacy Interop bridge hỗ trợ cả Paper và Fabric
- Expo-ready: Cấu hình plugin
withDotLottie, hỗ trợexpo prebuildvà EAS build - Định dạng đa dạng: Hỗ trợ cả file
.lottievà.json - Metro config hỗ trợ
.lottie: Cấu hình resolver để nhận diện đúng định dạng - API đồng nhất: Các phương thức điều khiển như play, pause, stop, setLoop, setSpeed, setPlayMode
- Web fallback: Dùng
@lottiefiles/dotlottie-reactkhi chạy trên Expo Go
💡 Vì sao đáng chú ý
Khác với các thư viện Lottie khác chỉ hỗ trợ một nền tảng hoặc thiếu hỗ trợ New Architecture, dotlottie-react-native được thiết kế để hoạt động trơn tru trên cả Paper và Fabric nhờ Legacy Interop bridge. Ngoài ra, việc tích hợp với Expo thông qua config plugin giúp giảm thiểu công đoạn cài đặt native, phù hợp cho các dự án sử dụng cả workflow quản lý và workflow có kiểm soát native code.
#dotlottie #lottie #reactnative #expo #animation #TiniX
Dự án tương tự
Khám phá các dự án và mô hình AI khác có sự tương đồng.
Official Lottie & dotLottie player for iOS, macOS, tvOS, watchOS & visionOS — SwiftUI & UIKit, Rust-powered core.
High-performance Lottie & dotLottie web player powered by Rust + WASM, with React, Vue, Svelte, Solid & Web Components.
Render After Effects animations natively on Android and iOS, Web, and React Native
High-performance Lottie & dotLottie player in Rust, with bindings for Android, iOS, Web (WASM), and C/C++.
🐣 🎬 📱 Apache Cordova plugin to show Lottie animations as the splash screen with Airbnb's Lottie wrapper
Joplin - the privacy-focused note taking app with sync capabilities for Windows, macOS, Linux, Android and iOS.
An open-source framework for making universal native apps with React. Expo runs on Android, iOS, and the web.
Reverse engineer anything with agents, from app behavior down to native binaries.