Skip to content

Repository files navigation

React Native Interactive Walkthrough

npm version MIT Licence TypeScript

A cross-platform interactive walkthrough library for React Native that is performant, simple, extensible, and works with Expo.

Highlight a part of your screen, position a tooltip relative to it, and guide your users through your app without wrapper components or prop drilling.

Demo

Here is a demo being used in production:

demo.mp4

Installation

npm install rn-interactive-walkthrough

Usage

For usage see the documentation.

Quick Start

import * as React from "react";
import { WalkthroughProvider } from "rn-interactive-walkthrough";

export default function App() {
  return (
    <WalkthroughProvider>
      <MyAwesomeApp />
    </WalkthroughProvider>
  );
}
import { useWalkthroughStep } from "rn-interactive-walkthrough";

function HomeScreen() {
  const { onLayout } = useWalkthroughStep({
    number: 1,
    contentComponent: NearbyUsersTooltip,
  });

  return (
    <View style={{ flex: 1 }}>
      <View style={{ height: 10 }} onLayout={onLayout}>
        <Text>Here is my app!</Text>
      </View>
    </View>
  );
}

License

MIT

About

Walkthrough library to introduce people into your app

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages