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

@craftreactnative/ui

v1.0.9

Published

CLI for adding React Native UI components built for Unistyles

Readme

CraftReactNative UI CLI

npm version MIT License

A CLI tool for adding CraftReactNative UI components to your React Native projects. Built for Unistyles.

Quick Start

  1. Initialize your project with themes and dependencies:
npx @craftreactnative/ui init
  1. Add components to your project:
npx @craftreactnative/ui add Button
npx @craftreactnative/ui add Avatar Card
# or install all components at once
npx @craftreactnative/ui add --all

Commands

init

Initialize your project with Unistyles themes and install required dependencies.

npx @craftreactnative/ui init

Options:

  • --skip-deps - Skip installing dependencies

list

List all available components.

npx @craftreactnative/ui list
# or
npx @craftreactnative/ui ls

add [components...]

Add one or more components to your project.

npx @craftreactnative/ui add Button
npx @craftreactnative/ui add Avatar Card Slider
# or install all components at once
npx @craftreactnative/ui add --all

Options:

  • --force - Overwrite existing components
  • --all - Install all available components

Available Components

  • Avatar - User profile avatars
  • BottomSheet - Modal bottom sheets
  • Button - Primary action buttons
  • ButtonRound - Circular action buttons
  • Card - Container cards
  • Checkbox - Checkboxes with animations
  • ContextMenu - Context menus
  • Counter - Number input counters
  • InputOTP - OTP/PIN input fields
  • InputSearch - Search input fields
  • InputText - Text input fields
  • ListItem - List items
  • PasscodeEntry - Passcode entry interface
  • PhotoCarousel - Image carousels
  • Radio - Radio buttons
  • Slider - Value sliders
  • SliderDual - Range sliders
  • Switch - Toggle switches
  • Text - Styled text components

Prerequisites

Your project needs these dependencies:

npm install react-native-unistyles@^3 react-native-edge-to-edge [email protected] react-native-gesture-handler@^2 react-native-reanimated@^3 react-native-svg@^14

The CLI will install these automatically when you run init, unless you use --skip-deps.

How It Works

This CLI copies component source code directly into your project, giving you:

  • Full control over the component code
  • No runtime dependencies for the components
  • Easy customization without breaking updates
  • TypeScript support out of the box

Project Structure

After running init, you'll have:

your-project/
├── craftrn-ui/
│   ├── themes/
│   │   ├── config.ts
│   │   └── unistyles.ts
│   └── components/
│       └── [added components]

Documentation

License

MIT License - see the LICENSE file for details.

Repository

This CLI is part of the CraftReactNative UI project.