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

@ragsuite/react-native

v1.0.0

Published

RAGSuite React Native embed SDK — chat UI for Expo / RN CLI / RN Web

Downloads

150

Readme

@ragsuite/react-native

RAGSuite React Native embed SDK for Expo, React Native CLI, and React Native Web.

Website: www.ragsuite.de
Source: github.com/ragsuite/RAGSuite-SDK

Native chat and search UI powered by @ragsuite/core — no WebView.

The SDK automatically picks the right native stack for Expo vs CLI. Developers install the packages below for their platform — no native wiring in app code.

Install — Expo

npx expo install @ragsuite/react-native react-native-safe-area-context expo-blur expo-linear-gradient expo-clipboard

| Package | Why | |---------|-----| | @ragsuite/react-native | RAGSuite SDK | | react-native-safe-area-context | Layout / safe area insets | | expo-blur | Native backdrop blur (version-aligned to your Expo SDK) | | expo-linear-gradient | Native header gradient (version-aligned to your Expo SDK) | | expo-clipboard | Copy to clipboard |

Icons are bundled inside the SDK (Lucide PNG assets — no SVG dependency).

Install — React Native CLI

npm install @ragsuite/react-native react-native-safe-area-context @react-native-community/blur react-native-linear-gradient @react-native-clipboard/clipboard
cd ios && pod install
npx react-native run-ios   # or run-android

| Package | Why | |---------|-----| | @ragsuite/react-native | RAGSuite SDK | | react-native-safe-area-context | Layout / safe area insets | | @react-native-community/blur | Native backdrop blur | | react-native-linear-gradient | Native header gradient | | @react-native-clipboard/clipboard | Copy to clipboard |

Icons and session storage are bundled inside the SDK.

Platform install summary

| | Expo | RN CLI | |--|------|--------| | SDK | @ragsuite/react-native | @ragsuite/react-native | | Layout | react-native-safe-area-context | react-native-safe-area-context | | Blur | expo-blur | @react-native-community/blur | | Gradient | expo-linear-gradient | react-native-linear-gradient | | Copy | expo-clipboard | @react-native-clipboard/clipboard | | Icons | (bundled Lucide PNGs) | (bundled Lucide PNGs) | | Storage | (bundled in SDK) | (bundled in SDK) |

Do not install react-native-svg or lucide-react-native — the SDK ships Lucide-matched PNG icons with no SVG dependency.

Required peer dependencies (both platforms)

| Package | Version | |---------|---------| | react | >= 18.0.0 | | react-native | >= 0.72.0 | | react-native-safe-area-context | >= 4.0.0 |

Tested against Expo SDK 52–55 / React Native 0.76+.

Native behavior

| Feature | Expo (auto) | RN CLI (auto) | Fallback | |---------|-------------|---------------|----------| | Backdrop blur | expo-blur | @react-native-community/blur | Dim overlay | | Header gradient | expo-linear-gradient | react-native-linear-gradient | Solid color | | Copy | expo-clipboard (peer) | @react-native-clipboard/clipboard | Silent no-op | | Icons | Lucide PNG assets | Lucide PNG assets | — | | Avatars | React Native Image | React Native Image | — |

Credentials

Use a project-scoped mobile API key (rgs_live_... or rgs_test_...). Do not use the web embed token as apiKey.

Quick start

import { View } from 'react-native';
import { StatusBar } from 'expo-status-bar';
import { SafeAreaProvider } from 'react-native-safe-area-context';
import { RAGSuiteProvider, RAGSuiteChat, RAGSuiteSearch } from '@ragsuite/react-native';

export default function App() {
  return (
    <SafeAreaProvider>
      <StatusBar translucent />
      <RAGSuiteProvider
        projectId="YOUR_PROJECT_ID"
        apiKey="rgs_live_YOUR_MOBILE_KEY"
        endpoint="YOUR_API_BASE_URL"
        features={['chat', 'search']}
      >
        <View style={{ flex: 1 }}>
          <RAGSuiteChat />
        </View>
      </RAGSuiteProvider>
    </SafeAreaProvider>
  );
}

Place <RAGSuiteChat /> as the last child inside a flex: 1 root View.

Use a translucent status bar at the app root so the chat modal matches the RAGSUITE app.

Tab navigator apps

import { getTabBarStackHeight } from '@ragsuite/react-native';

<RAGSuiteChat tabBarOffset={getTabBarStackHeight(insets.bottom)} />

Stack-only apps: <RAGSuiteChat tabBarOffset={0} />.

Components

| Export | Purpose | |--------|---------| | RAGSuiteProvider | Validates config, exposes client | | RAGSuiteChat | Floating launcher + chat panel | | RAGSuiteSearch | Search bar + streamed results | | getTabBarStackHeight | Tab bar stack height helper |

See also

examples/expo-demo for a full demo app.

License

Copyright 2026 NITSAN. Apache License, Version 2.0.