Gathering detailed insights and metrics for react-native-onboard-tutorial
Gathering detailed insights and metrics for react-native-onboard-tutorial
Gathering detailed insights and metrics for react-native-onboard-tutorial
Gathering detailed insights and metrics for react-native-onboard-tutorial
react-native-onboard
Delightful and fully customizable onboarding elements for React Native.
react-native-app-onboard
React Native App Onboard is a customizable, easy-to-use, and efficient library for creating compelling onboarding experiences for your React Native applications. It provides smooth, fluid transitions and animations, with a focus on simplicity and usabilit
react-native-onboard-carousel
A react native customizable onboarding component
react-native-step-tutorial
A lightweight and customizable React Native tutorial/onboarding overlay library that guides users through your app’s UI using step-by-step highlights, tooltips, and walkthroughs. Easily define tutorial steps, highlight specific components, and provide con
A simple, highly customizable library to help onboard users to your app!
npm install react-native-onboard-tutorial
Typescript
Module System
Node Version
NPM Version
TypeScript (65.82%)
Java (16.07%)
Objective-C (12.46%)
JavaScript (2.48%)
Ruby (1.63%)
Starlark (1.55%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
3 Stars
43 Commits
1 Watchers
3 Branches
1 Contributors
Updated on Feb 06, 2022
Latest Version
1.1.0
Package Id
react-native-onboard-tutorial@1.1.0
Unpacked Size
32.81 kB
Size
8.45 kB
File Count
34
NPM Version
6.14.15
Node Version
12.22.7
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
1npm i react-native-onboard-tutorial
You can take a look at the example App if you'd prefer to just see the code!
First, determine the steps you'd like to highlight. From there, create a tutorial state that'll be used in conjunction with Components to highlight portions of the App.
1//Sample tutorial 2export const tutorial = { 3 id: "tutorial", 4 active: true, 5 currentStep: 0, 6 steps: [ 7 { 8 // Used to link the step to components 9 id: "stepone", 10 text: "Step one text!", 11 }, 12 { 13 id: "steptwo", 14 text: "Outlet Text!", 15 //Used to show text in the <TutorialTextOutlet /> component 16 showOutlet: true, 17 }, 18 //...more steps if desired 19 ], 20};
Next, let's add a provider around the boundary of the App that needs the explanation, if unsure put it at the root!
1import { TutorialProvider } from 'react-native-text-outlet'; 2import { tutorial } from './appTutorial'; 3 4export const App = () => { 5 return ( 6 <TutorialProvider tutorial={tutorial}> 7 <RestOfTheApp /> 8 </TutorialProvider> 9 )
useTutorial()
Returns the current active tutorial state. See Tutorial Definition
.
useActiveStep()
Returns the current active tutorial step. See ActiveStep Definition
.
useStepListener((current:ActiveStep, previous:ActiveStep)=>void)
Listens for step changes, and calls the function with the current and previous steps anytime an action is taken.
useStep(stepId:string)
Returns the step with the matching stepId.
<TutorialProvider/>
Prop | Description | Default |
---|---|---|
tutorial | Mandatory - Information about the state of the tutorial. For details see [`types.ts | Tutorial`]('./lib/types.d.ts'). |
onEvent | A function `(eventName:step | complete, info: { from: Step, to: Step }) => void`. |
<TutorialStep/>
The building block for any sort of Tutorial Step, we provide two out of the box, <TutorialText/>
, and <TutorialHighlight/>
, but this allows you to build your own. See <TutorialText />
's implementation for details on usage.
Prop | Description | Default |
---|---|---|
stepId | Mandatory - The identifier attached to the step that this component represents. | None |
text | Overrides the text for this step. | Text on the step in the tutorial. |
onEnter | A function invoked when the step completes, function will be invoked with an event with this structure `{ direction:forward | backward, step:Step }. See [ TutorialStepComponent.onExit`]('./lib/types.d.ts') for definition. |
onExit | A function invoked when the step completes, function will be invoked with an event with this structure `{ direction:forward | backward, step:Step }. See [ TutorialStepComponent.onExit`]('./lib/types.d.ts') for definition. |
<TutorialHighlight/>
A component to create a throbbing effect to highlight it's children. Inherits all the props from <TutorialStep/>
and adds the following for customization.
Prop | Description | Default |
---|---|---|
emphasisScale | How much to scale the component on the throb effect. | 1.02 |
<TutorialText/>
A component to show a text popover relative to it's children. Inherits all the props from <TutorialStep/>
and adds the following for customization.
Prop | Description | Default |
---|---|---|
containerStyle | Overrides the style on the View component wrapping the Text component. | None |
textStyle | Overrides the style on the Text component. | None |
<TutorialTextOutlet/>
A component that shows text for a step that has the property showOutlet
set to true. This is useful if you'd like to highlight an area, but add descriptive text elsewhere.
Prop | Description | Default |
---|---|---|
containerStyle | Overrides the style on the View component wrapping the Text component. | None |
textProps | Overrides the props on the Text component. | None |
stepFilter | A function that allows more control over whether or not this component will display. Simply return true to show the component, or false to hide the component in response to the current step. (step: Step) => boolean | None |
<TutorialControls/>
A component to quickly get started with controls for the tutorial. The controls include, going back a step, stepping forward, and skipping the tutorial.
Prop | Description | Default |
---|---|---|
backText | Override the back button text. | Back |
backStyle | Overrides the props on the Text component. | None |
backTextProps | Props to pass to the Text component | None |
nextText | Override the next button text. | Next |
nextStyle | Overrides the props on the Text component. | None |
nextTextProps | Props to pass to the Text component | None |
skipText | Override the skip button text. | Skip |
skipStyle | Overrides the props on the Text component. | None |
skipTextProps | Props to pass to the Text component | None |
containerStyle | Overrides the style on the View component wrapping the controls ` | None |
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
binaries present in source code
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
Found 0/19 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
security policy file not detected
Details
Reason
license file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
52 existing vulnerabilities detected
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More