![require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages](https://cdn.sanity.io/images/cgdhsj6q/production/be8ab80c8efa5907bc341c6fefe9aa20d239d890-1600x1097.png?w=400&fit=max&auto=format)
Security News
require(esm) Backported to Node.js 20, Paving the Way for ESM-Only Packages
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
react-native-onboard
Advanced tools
Delightful and fully customizable onboarding elements for React Native.
A library of high-quality components for creating beautiful onboarding and product education in your React Native apps. React Native Onboard helps developers build better onboarding experiences faster so they can focus on what matters most: building great products.
Product onboarding is one of the most important experiences in your app. It's usually the first thing your users see, and it's the first impression they have of your product. But it's difficult to get right and slow to build. We believe there needs to be a better way to build and iterate on high-quality onboarding experiences.
Install the package from your command line.
yarn add react-native-onboard
npm install react-native-onboard
Place the OnboardFlow
component anywhere in your app. It will automatically take up the entire screen. Three default
behaviors are offered (fullscreen
, bottom-sheet
, and inline
) and can be changed by through the type
property.
import { OnboardFlow } from 'react-native-onboard';
const App = () => {
return (
<OnboardFlow
pages={[
{
title: 'Welcome to my app',
subtitle: 'This is page 1',
imageUri: 'https://frigade.com/img/example1.png',
},
{
title: 'Page 2 header',
subtitle: 'This is page 2',
imageUri: 'https://frigade.com/img/example2.png',
}
]}
type={'fullscreen'}
/>
);
};
If you wish to load your image assets from your local project rather than server side, you can use the require
function.
imageUri: Image.resolveAssetSource(require('image.png')).uri
react-native-onboard
is designed to be headless and customizable. You can use the default UI or create your own by implementing a series of provided interfaces see available props here
The official docs are available at docs.frigade.com
While the above examples contain hard-coded strings and images for illustrative purposes, we highly recommend loading your strings and presentation layer logic from your API rather than as plain strings in your app.
We built Frigade to work seamlessly with react-native-onboard
and make it easier for developers to build and scale onboarding.
With Frigade, you can update your flows without releasing to the App Store, integrate 3rd party analytics (Segment, Mixpanel, etc.) to power user targeting, and integrate our API/webhooks to make data input easy.
Questions? Suggestions? Feel free to open an issue, submit a PR, or contact us.
MIT License
FAQs
Delightful and fully customizable onboarding elements for React Native.
The npm package react-native-onboard receives a total of 592 weekly downloads. As such, react-native-onboard popularity was classified as not popular.
We found that react-native-onboard demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
require(esm) backported to Node.js 20, easing the transition to ESM-only packages and reducing complexity for developers as Node 18 nears end-of-life.
Security News
PyPI now supports iOS and Android wheels, making it easier for Python developers to distribute mobile packages.
Security News
Create React App is officially deprecated due to React 19 issues and lack of maintenance—developers should switch to Vite or other modern alternatives.