GitHub Onboarding with Reanimated
Wednesday, September 27, 2023
demos
github-onboarding
An ongoing collection of React Native animations crafted with Reanimated, Gesture Handler, and Skia.
TypeScript
3.2k
296
A colorful onboarding component with image transitions and dynamic colors.
What's This About?
This component creates an engaging onboarding experience inspired by GitHub's design patterns. It features a series of screens with smooth transitions between images, each accompanied by a title and a dynamic color scheme. The component automatically handles gesture-based navigation and provides visual feedback through color transitions that complement each screen's content.
Technical Implementation
The component uses:
Gesture handling
Image transitions
Color interpolation
Dynamic data rendering
Screen navigation
Usage
// Data structure
type OnboardingItem = {
title: string;
color: string;
image: ImageSourcePropType;
};
// Sample data
const data = [
{
title: 'Lazy Day Lounger',
color: '#265D9E',
image: require('./assets/02.jpg'),
},
{
title: 'Whiskered Explorer',
color: '#4E8DC5',
image: require('./assets/01.jpg'),
},
];
// Basic usage
<ColorfulOnboarding data={data} />;
Unlock the beauty of React Native animations
Learn Reanimated, Gesture Handler & Skia with Reanimate.dev
Feedback on Github Onboarding
Ideas, bugs, or anything that felt off: I read every message. For anything else, write to hello@reactiive.io.
Send feedback