JSPM

simple-react-native-onboarding

1.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q25631F
  • License MIT

Create Onboarding Screen in React Native easily and faster

Package Exports

  • simple-react-native-onboarding
  • simple-react-native-onboarding/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (simple-react-native-onboarding) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

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