An open API service indexing awesome lists of open source software.

https://github.com/hendrixgotcodes/react-native-versatile-onboarding

React-native-versatile-onboarding is a highly customizable and easy-to-integrate React Native library designed to enhance the onboarding experience for mobile applications.
https://github.com/hendrixgotcodes/react-native-versatile-onboarding

Last synced: 10 months ago
JSON representation

React-native-versatile-onboarding is a highly customizable and easy-to-integrate React Native library designed to enhance the onboarding experience for mobile applications.

Awesome Lists containing this project

README

          


NativeWind Logo


React Native Versatile Onboarding

React-native-versatile-onboarding is a highly customizable and easy-to-integrate React Native library designed to enhance the onboarding experience for mobile applications. This library offers a rich set of animations, flexible layouts, and an intuitive API that caters to both developers and designers looking to create compelling, informative, and interactive onboarding flows.

## Installation

```sh
npm install react-native-versatile-onboarding
```

## Usage

```js
import * as React from 'react';
import VersatileOnboarding from 'react-native-versatile-onboarding';
import OnboardingItem from './OnboardingItem';
import data from './data';

export default function App() {
return (

{data.map((item) => (

))}

);
}
```

## Configuration





Property
Type
Default
Description




activePaginationColor (optional)

string

rgba(0, 0, 0, 0.159)

Set this to change the color of active pagination element. This should be a color code if set (Can be HEX, rgb, rgba or hsl value.



Children

ReactElement<typeof View> | Array<ReactElement<typeof View>>

No default; you must specify at least one <View /> component.

This property should be a list of <View /> components. It may be updated in the future to support additional component types.



Footer (optional)
ReactNode
Built-in footer component
Provides an optional footer component that can be customized or replaced.


footerBtnStyle (optional)
StyleProp<ViewStyle>
Built-in footer styles
Allows customization of the default styles applied to the provided footer component.


inAtivePaginationColor (optional)

string

rgba(0, 0, 0, 1)

Set this to change the color of inActive pagination element. This should be a color code if set (Can be HEX, rgb, rgba or hsl value.



onNavigate (optional)
(currentPageIndex: number) => any
undefined
Callback that is invoked when the onboarding component navigates to a new page.


onNavigateToEnd (optional)
( ) => any
undefined
Callback that is invoked when the onboarding component finishes all navigation.


paginationContainerStyle (optional)
StyleProp<ViewStyle>
null

Allows customization of the default styles applied to the container of pagination elements.



PaginatorType (optional)
"dot" | "dash"
"dot"
Specifies the appearance of the pagination element, either as dots or dashes.



## Contributing

See the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.

## License

MIT

---

Made with ❤️