by jfilter

🛳 Delightful onboarding for your React-Native app

480 Stars 112 Forks Last release: Not found Other 169 Commits 23 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

 npm npm

| | | | | --------------------- | --------------------- | ------------------ |

There are many ways to onboard people to your mobile app. But for React-Native, there is solely one component that is a) easy to setup and b) highly customizable:


Your new users shouldn't jump in at the deep end. First give them a pleasurable, delightful introduction and only then let them explore your awesome app.

Getting everything running merely takes a minute. Try out the example running in your browser.


npm i react-native-onboarding-swiper
import Onboarding from 'react-native-onboarding-swiper';


      title: 'Onboarding',
      subtitle: 'Done with React Native Onboarding Swiper',


Check out the three examples files: the simple example, the example with a Call-to-Action button or the example with custom button components.

Required Properties

  • pages
    (required): an array of pages in the following shape:
    • backgroundColor
      (required): a background color. The color of the font and dots adapts to the background color.
    • image
      (required): a component (e.g.
      ) to display at the top of the page.
    • title
      (required): a string OR a React-Native component.
    • subtitle
      (required): a string OR a React-Native component.

Optional Properties


  • nextLabel
    (optional): a string OR a React-Native component for the Next label. Defaults to
  • showNext
    (optional): a bool flag indicating whether the Next button is visible. Defaults to
  • skipLabel
    (optional): a string OR a React-Native component for the Skip label. Defaults to
  • showSkip
    (optional): a bool flag indicating whether the Skip button is visible. Defaults to
  • onSkip
    (optional): a callback that is fired if the Onboarding is skipped.
  • skipToPage
    (optional): when pressing skip, go to that page (e.g.
    ). If this prop is provided, ignores
  • onDone
    (optional): a callback that is fired after the Onboarding is completed.
  • showDone
    (optional): a bool flag indicating whether the Done checkmark button is visible. Defaults to


  • bottomBarHeight
    (optional): a number for the height of the bottom bar. Defaults to
  • bottomBarColor
    (optional): backgroundColor of the bottom bar. Defaults to
  • bottomBarHighlight
    (optional): a bool flag indicating whether the bottom bar should be highlighted. Defaults to
  • controlStatusBar
    (optional): a bool flag indicating whether the status bar should change with the background color. Defaults to
  • showPagination
    (optional): whether to show the bottom pagination bar. Defaults to
  • flatlistProps
    (optional): additional props for the FlatList which holds all the pages.
  • transitionAnimationDuration
    (optional): The duration in milliseconds for the animation of the background color for the page transition. Defaults to
  • allowFontScaling
    (optional): Font scaling can cause troubles with high-resolution screens. You may want to disable it. Defaults to
  • pageIndexCallback
    (optional): a function that receives the page
    as a parameter on page change. Example Usage

Default Page Styles

For the pages in the

array, you can set the default styles (and override the styles set by this component).
  • containerStyles
    (optional): override the default container styles.
  • imageContainerStyles
    (optional): override the default image container styles e.g. the
    of 60.
  • titleStyles
    (optional): override the default title styles.
  • subTitleStyles
    (optional): override the default subtitle styles.

Adjust Individual Page Styles

For each page in the

array, you can override the default page styles. An example.
  • titleStyles
    (optional): modify styles of a specific page's title.
  • subTitleStyles
    (optional): modify styles of a specific page's subtitle.

Custom Components Properties

You can also provide your own custom components for the buttons and the dots. All of them have access to a

prop but it's up to you what you do with it. Also checkout this example.
  • SkipButtonComponent
    (optional): Skip Button, gets
    as prop.
  • NextButtonComponent
    (optional): Next Button, gets
    as prop.
  • DoneButtonComponent
    (optional): Done Button.
  • DotComponent
    (optional): Dot for the pagination, gets
    as prop to indicate the active page.


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

Pull requests are especially welcomed when they fix bugs or improve the code quality.




Built upon the work by Gosha Arinich which was originally inspired by AndroidOnboarder.



We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.