Skip to content
项目

Aashu-Dubey/react-native-animation-samples

在 GitHub 查看

关于

Gesture based interruptible animation samples in React Native.

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

React Native Animation Samples

Some very interesting and challenging animation samples built in react-native

🧬 Samples

Project
> Expo Snack
> YouTube Tutorial Playlist

1. Custom Toolbar

> YouTube Tutorial

A Custom playful, interactive toolbar with cool gesture based interruptible animations.

> Browse
> Demo: twitter | youtube short 1, short 2
Animated Toolbar Preview

2. Color Swatch

> YouTube Tutorial

A Color Swatch that plays a circular rotation based on user gestures.

> Browse
> Demo: twitter | youtube
Color Swatch Preview

3. Grid Magnification

A grid list view that displays Magnify effect on long press & drag, focusing on the items near the touch area within a radius.

> Browse
> Demo: twitter
> Alternatives: Flutter
Grid Magnification Preview

4. Rope Physics

A realistic looking gesture controlled, bezier based Rope UI implementation and related samples.

> Browse
> Demo: twitter
Rope Physics Preview

5. Custom Cursor/Caret

A Customizable custom cursor/caret for TextFields, with intuitive validation animations for max length and password strength.

> Browse
> Demo: twitter (max length | password strength)
> Alternatives: Flutter
Custom Cursor/Caret Preview

🧬 Other samples (Incomplete) 🚧

  • Cards Swap:- A drag/swipe demo where the cards dodge each other with gesture based animations. See preview

🖥 Running locally

# after clone, cd into the directory
# install dependencies
yarn install

# iOS only
npx pod-install ios
# or
cd ios && pod install && cd ..

# Run iOS
npx react-native run-ios

# Run Android
npx react-native run-android

探索相关项目

加载中…