simple-react-native-onboarding
TypeScript icon, indicating that this package has built-in type declarations

1.0.2 • Public • Published

Numerous approaches exist for introducing users to your mobile app, but in the realm of React Native, a standout option is the "simple-react-native-onboarding" component. This component is not only simple to set up but also offers high levels of customization.

Rather than immersing your new users directly into complex features, it's advisable to provide them with a pleasant and delightful introduction. Allow them to gradually explore the various facets of your impressive app after this initial welcoming experience.

Demo

Demo on Android and iOS

Demo Demo

Install

npm i simple-react-native-onboarding

Usage

import OnboardingScreen from 'simple-react-native-onboarding';

const data = [
    {
        _id: '1',
        title: 'Play The Beat',
        description: 'Most beginner producers learn make creating by simple beats.',
        image: <LottieView style={styles.lottie} autoPlay source={require('../assets/onboarding/store-2.json')} />
    },
    {
        _id : '2',
        title: 'Live The Life',
        description: 'In our daily lives, we often rush tasks trying to get them finish.',
        image: <Image
            source={{ uri: 'https://i.ytimg.com/vi/VMF1i5I2imE/maxresdefault.jpg' }}
            style={{width: SCREEN_WIDTH*0.9, height: SCREEN_WIDTH}}
        />
    },
    {
      _id : '3',
      title: 'Capture The Moment',
      description: 'You are not alone. You have unique ability to go to another world.',
      image: <Image
        source={{ uri: 'https://i.ytimg.com/vi/VMF1i5I2imE/maxresdefault.jpg' }}
        style={{width: SCREEN_WIDTH*0.9, height: SCREEN_WIDTH}}
      /> 
    },
  ]
  
<OnboardingScreen 
    data={data} 
    dotBackgroundColor='green' 
    onFinish={
        () => {console.log('Done.....');
    }} 
    buttonIconColor='white'
/>

Contributing

If you have a question, found a bug or want to propose a new feature, have a look at the issues page.

License

MIT

Package Sidebar

Install

npm i simple-react-native-onboarding

Weekly Downloads

1

Version

1.0.2

License

MIT

Unpacked Size

13.8 kB

Total Files

4

Last publish

Collaborators

  • alfrednti