appandflow /react-native-ease
🍃 Lightweight declarative animations powered by platform APIs
★ 995⑂ 17👁 1⑃ 60● 14▤ 14
+0
日增长
995
stars
17
forks
1
watchers
60
prs
14
issues
14
releases
README
Lightweight declarative animations powered by platform APIs. Uses Core Animation on iOS and Animator on Android — zero JS overhead. About App & Flow is a Montreal-based React Native engineering and consulting studio. We partner with the world’s top companies and are recommended by Expo. Need a hand? Let’s build together. [email protected] Visit the React Native Ease website. Demo !ease-demo Getting started Installation bash npm install react-native-ease or yarn add react-native-ease Swift Package Manager (iOS) The package includes a Package.swift for apps that use Swift Package Manager instead of CocoaPods (React Native 0.88 or newer). An app moves to Swift Package Manager with npx react-native spm add. After that, React Native links this package automatically, and no extra step is needed. The Swift Package Manager setup supports iOS only. On tvOS, use CocoaPods. Migration Skill If you're already using react-native-reanimated or React Native's Animated API, this project includes an Agent Skill that scans your codebase for animations that can be replaced with react-native-ease and migrates them automatically. bash npx skills add appandflow/react-native-ease Then invoke the skill in your agent (e.g., /react-native-ease-refactor in Claude Code). The skill will: 1. Scan your project for Reanimated/Animated code 2. Classify which animations can be migrated (and which can't, with reasons) 3. Show a migration report with before/after details 4. Let you select which components to migrate 5. Apply the changes, preserving all non-animation logic NativeWind Support If you're using NativeWind (v4+), add this import once in your app's entry point (e.g., _layout.tsx or App.tsx): tsx import 'react-native-ease/nativewind'; This registers EaseView with NativeWind's cssInterop so className is properly converted to styles: tsx {children} Tip: If you use the migration skill, it detects NativeWind automatically and adds this import for you. Uniwind Support If you're using Uniwind, first follow the Uniwind quickstart to install and configure Uniwind in your app. That setup includes the required CSS entry file, app-root CSS import, and bundler configuration. Once Uniwind is set up, import EaseView from the Uniwind entry point: tsx import { EaseView } from 'react-native-ease/uniwind'; This wraps EaseView with Uniwind's withUniwind(...) so className is converted to styles: tsx {children} Example tsx import { EaseView } from 'react-native-ease'; function FadeCard({ visible, children }) { return ( {children} ); } EaseView works like a regular View — it accepts children, styles, and all standard view props. When values in animate change, it smoothly transitions to the new values using native platform animations. Why Goals - Fast — Animations run entirely on native platform APIs (CAAnimation, ObjectAnimator/SpringAnimation). No JS animation loop, no worklets, no shared values. - Simple — CSS
Top issues
#48Crash on iOS: Attempt to unmount a view which has a different index2 comments · 2026-06-25#72iOS: a recycled EaseView loses overflow: 'hidden' and borderRadius1 comments · 2026-11-08#46Exit animations support0 comments · 2026-06-11
Latest release
Release 0.10.0 v0.10.0 2026-11-130.10.0 (2026-11-13) Bug Fixes restore smaller landing button and left-aligned layout (71) (9d76ecb) Features ios: add Swift Package Manager support (74) (6a5f1a8)