A React Native showcase application demonstrating animation capabilities with React Native Reanimated. This project is designed as a learning tool and showcase for animation techniques, not as a library of reusable components.
This application showcases an animated pagination indicator system commonly used in onboarding flows, featuring:
- Smooth animated transitions between pages
- Dynamic dot indicators that respond to page changes
- Animated buttons with entrance/exit animations
- Fluid layout transitions
- React Native - Mobile framework
- Expo - Development platform
- TypeScript - Type safety
- React Native Reanimated - Advanced animations
- NativeWind/Tailwind CSS - Styling
- Expo Vector Icons - Icons
# Clone the repository
git clone https://github.com/danieltgfischer/pagination-indicator.git
cd pagination-indicator
# Install dependencies
npm install
# or
yarn install
This project is built with Expo, so you can easily run it on your device using Expo Go:
# Start the Expo development server
npx expo start
# or
yarn expo start
Then:
- Download the Expo Go app on your iOS or Android device
- Scan the QR code shown in your terminal with your camera (iOS) or directly in the Expo Go app (Android)
- The app will load on your device
- Interpolated color animations
- Spring-based dot transitions
- Dynamic sizing based on current page
- Fade in/out animations for button text
- PinwheelIn animation for completion icon
- Conditional rendering with animations
- Layout animations with spring physics
- Entrance and exit animations
- PaginationIndicator: Main component displaying animated dots
- Dot: Individual animated dots that change color based on the current page
- Onboarding: Example implementation of an onboarding flow using the pagination
- Button: Animated button component with entrance/exit effects
- AnimatedStyle hooks for dynamic styling
- SharedValue for animation coordination
- Interpolated colors for smooth transitions
- Spring animations for natural movement
This project is intended for learning purposes and demonstrates specific animation techniques with React Native Reanimated. The components are not designed for direct reuse in production applications but serve as examples of animation patterns you can adapt for your own projects.