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.
Here is a demo being used in production:
demo.mp4
npm install rn-interactive-walkthroughFor usage see the documentation.
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>
);
}MIT