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

survey-react-native-ui

v0.1.1

Published

Experimental React Native renderer for SurveyJS models.

Readme

survey-react-native-ui (POC)

⚠️ This package is an early, text-question-only proof of concept. The APIs will evolve as we add more question types.

What is this?

survey-react-native-ui renders a survey-core SurveyModel inside a React Native surface. The current prototype wires SurveyJS models to React Native Paper components (with graceful fallbacks to native primitives when a Paper equivalent does not exist) and includes:

  • Survey component that renders visible pages/questions from an existing SurveyModel.
  • Default Material Design 3 theming powered by React Native Paper's PaperProvider, with optional overrides.
  • One built-in question renderer (text). Additional question types can be registered through registerQuestionRenderer.

Installing locally

This repo uses npm workspaces. From the repository root run:

npm install

Then build the package once:

cd packages/survey-react-native-ui
npm run build

Using the Survey component

import { Model } from "survey-core";
import { Survey } from "survey-react-native-ui";

const surveyJson = {
  elements: [
    { name: "name", type: "text", title: "What is your name?" }
  ]
};

const model = new Model(surveyJson);

export default function SurveyScreen() {
  return <Survey model={model} />;
}

Theming and customization

Survey wraps its output in a React Native Paper PaperProvider using the default MD3 theme. Supply the optional paperProviderProps prop to customize the theme or provider settings:

import { MD3DarkTheme } from "react-native-paper";

<Survey
  model={model}
  paperProviderProps={{ theme: MD3DarkTheme }}
/>;

If you already wrap your app with PaperProvider, pass the same theme via paperProviderProps so the survey UI stays aligned with the surrounding surface.

Adding more question types

Use registerQuestionRenderer to connect a SurveyJS question type to a React Native component.

import { registerQuestionRenderer } from "survey-react-native-ui";

registerQuestionRenderer("dropdown", ({ question }) => {
  // render question as you like
  return null;
});

We will upstream first-party renderers iteratively. Until then, the Expo sample (see /examples/react-native-expo) shows how to link the package and experiment.