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

@upstep/react-native

v0.6.16

Published

Upstep feedback SDK for React Native

Readme

@upstep/react-native

The Upstep feedback SDK for React Native: a launcher button and a bottom sheet with a voting board and submit form, backed by the same project as your web app.

Install

npm install @upstep/react-native react-native-safe-area-context

react-native-safe-area-context is a required peer dependency (the sheet needs it for safe-area insets). Get an API key by creating a free project at upstep.dev.

Quick start

import { FeedbackProvider, FeedbackButton, FeedbackSheet } from "@upstep/react-native";

export default function App() {
  return (
    <FeedbackProvider apiKey="upstep_xxx">
      {/* your app */}
      <FeedbackButton />
      <FeedbackSheet />
    </FeedbackProvider>
  );
}

Same idea as the web widget: a floating button opens a sheet with a voting board and a submit form. It reports to the same project and the same board as your web app, so mobile and web feedback end up in one place, sorted by votes.

Shake to submit feedback

Optional, and only active if expo-sensors is installed:

npm install expo-sensors
import { useShakeToFeedback } from "@upstep/react-native";

function App() {
  useShakeToFeedback(); // opens the sheet when the device is shaken
  // ...
}

If expo-sensors isn't installed, the hook is a no-op — safe to call unconditionally.

Configuration

FeedbackProvider takes the same options as the web SDK:

| Option | Type | Default | Description | | --- | --- | --- | --- | | apiKey | string | — | Required. Your project's API key. | | userId | string | — | End-user id from your app, used to deduplicate votes per user. Call identify(userId) if it's only known after login. | | baseUrl | string | https://upstep.dev | Only needed for self-hosted or staging setups. | | accentColor | string | #D97757 | Any CSS color, used for the launcher button and highlights. | | theme | "light" \| "dark" \| "auto" | "auto" | "auto" follows the device color scheme. |

API

  • <FeedbackProvider apiKey="..." /> — wraps your app, all config options above are valid props.
  • <FeedbackButton position? label? icon? /> — floating launcher, position is "bottom-right" (default) or "bottom-left".
  • <FeedbackSheet /> — the modal sheet with the board and submit form. Mount once, anywhere inside the provider.
  • useShakeToFeedback() — opens the sheet on a device shake, requires expo-sensors.
  • useUpstep() — the underlying state and actions (feedItems, submit, vote, openSheet, closeSheet, identify, ...), if you want to build a custom UI instead of FeedbackSheet.

Links