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 🙏

© 2026 – Pkg Stats / Ryan Hefner

cuoral-react-native

v0.5.0

Published

Cuoral react native customer interaction SDK

Readme

Cuoral React Native

Cuoral React Native Customer Interaction SDK
Integrate the Cuoral chat widget into your React Native applications.

This SDK provides a convenient way to embed the Cuoral chat experience directly into your mobile app, allowing your users to interact with your support team or AI assistant seamlessly.


📦 Installation

To install the Cuoral React Native SDK, run the following command in your project's root directory:

npm install cuoral-react-native react-native-webview
# or with yarn
yarn add cuoral-react-native react-native-webview

Note: This library relies on react-native-webview. Ensure it is installed as a direct dependency in your project.

For iOS:

cd ios && pod install && cd ..

🚀 Usage

The cuoral-react-native library provides the CuoralLauncher component, which you can use to display a floating action button (FAB) that opens the Cuoral chat widget in a modal.

🧩 Basic Integration

import React from 'react';
import { View, Text, StyleSheet, SafeAreaView, StatusBar } from 'react-native';
import { CuoralLauncher } from 'cuoral-react-native'; // Import the launcher component

const App = () => {
  const YOUR_PUBLIC_KEY = 'YOUR_CUORAL_PUBLIC_KEY'; // Replace with your actual public key

  return (
    <SafeAreaView style={styles.safeArea}>
      <StatusBar barStyle="dark-content" backgroundColor="#f0f0f0" />
      <View style={styles.appContainer}>
        <Text style={styles.appTitle}>My Awesome App</Text>
        <Text style={styles.appBody}>
          Tap the chat bubble to connect with Cuoral support.
        </Text>
      </View>

      <CuoralLauncher
        publicKey={YOUR_PUBLIC_KEY}
        // Optional user information:
        // email="[email protected]"
        // firstName="Jane"
        // lastName="Doe"

        // Optional UI customization:
        // backgroundColor="purple"
        // icon={<Text style={{ color: 'white', fontSize: 24, fontWeight: 'bold' }}>💬</Text>}
        // isVisible={true}
        // position="bottomRight"
      />
    </SafeAreaView>
  );
};

const styles = StyleSheet.create({
  safeArea: {
    flex: 1,
    backgroundColor: '#f0f0f0',
  },
  appContainer: {
    flex: 1,
    justifyContent: 'center',
    alignItems: 'center',
    padding: 20,
  },
  appTitle: {
    fontSize: 24,
    fontWeight: 'bold',
    marginBottom: 10,
    color: '#333',
  },
  appBody: {
    fontSize: 16,
    color: '#555',
    textAlign: 'center',
  },
});

export default App;

🔧 CuoralLauncher Props

| Prop Name | Type | Default | Description | | ----------------- | ----------------- | ---------------------- | ----------------------------------------------------------------------------------- | | publicKey | string | Required | Your unique public key from Cuoral. | | email | string? | undefined | Optional: User's email address to pre-fill in the Cuoral chat. | | firstName | string? | undefined | Optional: User's first name to pre-fill in the Cuoral chat. | | lastName | string? | undefined | Optional: User's last name to pre-fill in the Cuoral chat. | | backgroundColor | string | #2196F3 | Optional: FAB background color (any valid CSS color string). | | icon | React.ReactNode | 💬 (<Text>💬</Text>) | Optional: The icon component to display on the FAB. | | isVisible | boolean | true | Optional: Controls FAB visibility. | | position | string | 'bottomRight' | Optional: FAB position: 'bottomRight', 'topRight', 'topLeft', 'bottomLeft'. |


🤝 Contributing

See the contributing guide to learn how to contribute to the repository and the development workflow.


📄 License

MIT


Made with ❤️ using [create-react-native-library]