npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

kovalee-rn-onboarding-kit

v0.4.0

Published

Library to display the onboarding from an app generated from a json file

Downloads

15

Readme

kovalee-rn-onboarding-kit

🎉 Welcome to OnboardingKit - Your solution to creating engaging and beautiful onboarding experiences for your apps with minimal effort! 🚀

We understand how crucial a first impression can be, and that’s why we’ve crafted OnboardingKit to help you make that initial user interaction as delightful and informative as possible. Forget about the tedious setup processes and dive straight into crafting a captivating onboarding journey for your users.

🖥 Platforms & Prerequisites

Before we get started, let’s make sure you’re all set to integrate OnboardingKit into your project. Here’s what you need:

  • iOS 16.0 or later 🍏
  • React Native 0.68.0 or later 🛠

Got everything? Great! Let’s move on.

📦 Installation

Integrating OnboardingKit into your iOS project is a breeze. Using npm or yarn, add OnboardingKit to your project:

yarn add onboardingkit-reactnative-wrapper

Or, if you prefer npm:

npm install onboardingkit-reactnative-wrapper

🛠 Usage

Creating an onboarding experience is now as easy as writing React components. Feed OnboardingKit a configuration object or a JSON file, and let it handle the rest.

import { KovaleeRNOnboardingKitView } from "kovalee-rn-onboarding-kit";

// ...

<KovaleeRNOnboardingKitView
    fileName="onboarding"
    onEventTrigger={(eventData) => {}}
    onOnboardingDismiss={(values) => {}}
/>
  • fileName: This is where you provide the configuration for your onboarding UI, which you can generate using our handy web configurator. filenName is just the name of your json file, without the extension.
  • onEventTrigger: A callback function that gets triggered on every user interaction within the onboarding view.
  • onDismiss: A callback function that gets called when the onboarding journey is complete, providing you with the user’s selections.

🌟 Examples & Getting Started

To get you up and running in no time, here’s a straightforward example implementation:

import React, { useState } from 'react';

import { StyleSheet, View, Button, Modal, SafeAreaView } from 'react-native';
import { KovaleeRNOnboardingKitView } from 'kovalee-rn-onboarding-kit';

export default function App() {
  const [modalVisible, setModalVisible] = useState(false);

  return (
    <View style={styles.container}>
      <Button title="Show Modal" onPress={() => setModalVisible(true)} />

      <Modal
        animationType="slide"
        transparent={false}
        visible={modalVisible}
        onRequestClose={() => {
          setModalVisible(false);
        }}>
        <SafeAreaView style={styles.safeArea}>
          <KovaleeRNOnboardingKitView
            fileName="onboarding"
            onEventTrigger={(eventData) => {
              const { name, properties } = eventData.nativeEvent;
              console.log(name, properties);
            }}
            onOnboardingDismiss={(values) => {
              const output = values.nativeEvent;
              console.log(output);
              setModalVisible(false);
            }}
            style={styles.box}
          />
        </SafeAreaView>
      </Modal>
    </View>
  );
}

const styles = StyleSheet.create({
  container: {
    flex: 1,
    alignItems: 'center',
    justifyContent: 'center',
  },
  box: {
    width: '100%',
    height: '100%',
  },
  safeArea: {
    flex: 1,
  },
});

And voila! You’re all set to craft mesmerizing onboarding experiences that captivate and inform. Welcome to the world of seamless integration and delightful user journeys with OnboardingKit. Enjoy coding! 🎊