Interactive guide tour library for React Native apps
React Native GuideKit allows you to provide intuitive onboarding experiences through mask overlays and tooltips.
- 🎯 Mask Guide: Mask overlay to highlight specific UI elements
- 💬 Custom Tooltips: Flexible positioning with 6 position options
- 🔄 Sequential Guide: Progress through multiple guide steps in order
- 📱 Cross Platform: Support for iOS, Android, and Web
- ⚡ TypeScript: Full type support
- 🎨 Customization: Customizable tooltip content, buttons, and styling
npm install react-native-guidekit
# 또는
yarn add react-native-guidekitInstall the required peer dependencies:
npm install react-native-svg react-native-paperimport * as GuideKit from "react-native-guidekit";
export default function App() {
return (
<GuideKit.GuideKitProvider>
<YourAppContent />
</GuideKit.GuideKitProvider>
);
}<GuideKit.GuideMaskSection
guideKey="welcome"
type="mask"
tooltip={{
arrowPosition: "topLeft",
position: "bottomLeft",
title: <Text>Welcome!</Text>,
content: <Text>Start here.</Text>,
}}
>
<YourComponent />
</GuideKit.GuideMaskSection>function StartButton() {
const { startGuide } = GuideKit.useGuideKitState();
return (
<Button
title="Start Guide"
onPress={() => startGuide({ guideKeyList: ["welcome"] })}
/>
);
}- 📖 Release Notes - Detailed API documentation and usage examples
- 🏗️ Architecture Documentation - Library structure and design
- 💡 Example App - Working demo
For more examples, see Release Notes.
startGuide({
guideKeyList: ["step1", "step2", "step3"],
onComplete: () => console.log("Guide completed!"),
onClose: () => console.log("Guide closed"),
});<GuideMaskSection
guideKey="custom"
tooltip={{
position: "topCenter",
arrowPosition: "bottomCenter",
title: <Text style={{ fontSize: 18 }}>Custom Title</Text>,
content: (
<View>
<Text>Multi-line description</Text>
<Text style={{ color: "blue" }}>Additional info</Text>
</View>
),
}}
>
<YourComponent />
</GuideMaskSection>GuideKitProvider- Context provider that wraps the entire appGuideMaskSection- Component that marks areas to be guided
useGuideKitState()- Provides guide state and control functions
For detailed API documentation, see Release Notes.
# Clone repository
git clone https://github.com/yeojinseok/react-native-guidekit.git
# Install dependencies
cd react-native-guidekit
npm install
# Build library
npm run build
# Run example app
cd example
npm install
npm run ios # or android, webContributions are welcome! Please follow these steps:
- Create or check an issue
- Fork and create a feature branch
- Implement changes and test
- Create a PR
ISC License
Made with ❤️ by Jindol