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

nativewind

v4.2.6

Published

Use Tailwindcss in your cross-platform React Native applications

Readme

npm version npm downloads Github Discord Twitter

About

Do you like using Tailwind CSS to style your apps? This helps you do that in React Native. Nativewind is not a component library, it's a styling library. If you're looking for component libraries that support Nativewind, see below.

Nativewind makes sure you're using the best style engine for any given platform (e.g. CSS StyleSheet or StyleSheet.create). Its goals are to to provide a consistent styling experience across all platforms, improving developer UX, component performance, and code maintainability.

Nativewind processes your styles during your application's build step and uses a minimal runtime to selectively apply reactive styles (eg changes to device orientation, light dark mode).

Built and maintained by the team at Ronin Software. We help teams build, fix, and ship React Native apps.

Installation

If you have an existing project, use these guides to configure Nativewind for your respective stack.

Alternatively, you can create a new pre-configured project via our Quickstart below.

Quickstart

Features

  • Works on all RN platforms, uses the best style system for each platform.
  • Uses the Tailwind CSS compiler
  • Styles are computed at build time
  • Small runtime keeps your components fast
  • jsxImportSourceTransform only wraps native components, making it lighter and such that the className prop is accessible inside your component
  • Respects all tailwind.config.js settings, including themes, custom values, and plugins
  • Support for
    • Custom CSS properties, aka CSS Variables
    • Dark mode, arbitrary classes, and media queries
    • Animations and transitions
    • Container queries
      • container-type and style-based container queries are not supported
    • Pseudo classes - hover / focus / active on compatible components
    • rem units
    • Theme functions and nested functions
    • React 18 Suspense API
    • Custom CSS
  • Styling based on parent state modifiers - automatically style children based upon parent pseudo classes
    • Support for the group and group/<name> syntax
  • Children styles - create simple layouts based upon parent class
  • Fast and consistent style application via hot reload
    • Includes changes made to tailwind.config.js

More details here

npm distribution tags

It's worth noting that we do not have Github branches that directly correlate to npm distribution tags. Instead, we deploy to specific npm tags either via automated Github actions (push to main -> publish to next) or manually (snapshots versions).

  • Release: latest
    • You should use this version
  • Canary: canary
    • You can use this version
    • Potentially less stable than latest but likely more robust
    • This version is currently out of date and will soon be updated to either v4.2 or v5.0
  • Experimental: next tag
    • You probably shouldn't use this version
    • Undergoing testing to move to a release version
    • This version is currently out of date and needs to be updated to v5.0, work in progress
  • Bleeding Edge: snapshot releases prefixed with 0.0.0-
    • You should not use this version
    • Used internally for moving towards a next version

Contribution

See this guide

FAQ

When is v5 landing?

Soon.

Is it safe to use v4?

Yes.

Is Nativewind moving to Expo?

No.

Can we disable the change that was done recently to auto-add nativewind types using a setting or something? I already have the settings using compilerOptions.types, so I would like to disable the file generation.

Not at the moment. We've found this will cause a long term problem where people "forget" what their type config was doing. They then update their types and break the Nativewind ones. To combat this, we've copied the behavior from other major frameworks which is to handle their types separately from user specified ones.

In the future, we may add an option like dangerouslyDisableTypeScriptGeneration or something verbose to prevent people from using it. We are tired of solving TypeScript issues, particularly ones such as "my types were working and now they aren't."

What happened to v3?

Similar to Valve, we don't like the number 3. Nah, we had a V3 but it was a bad idea and needed to be reworked so we dropped it and moved on to v4.

What if I'm looking for a component library that uses Nativewind?

There are a number of different component libraries available that use Nativewind to achieve different results. You should pick the one that best suits your needs.

NativewindUI

This multi-platform library focuses on achieving native feel for each individual platform using the familiar interface of Tailwind CSS.

React Native Reusables

This open source library offers universal shadcn/ui via React Native. Use this as a foundation to develop your own high-quality component library.

gluestack

From the folks that brought you NativeBase, this library offers customizable cross-platform components designed to look & behave cleanly on every platform.

What are the breaking changes from v2 to v4?

All breaking changes are outlined here.

Documentation

Learn more on our website.