Skip to content

Latest commit

 

History

History
26 lines (17 loc) · 1.79 KB

File metadata and controls

26 lines (17 loc) · 1.79 KB

css-multiplatform-demo

A Yarn workspaces monorepo demonstrating how Tailwind CSS styles can be used across all React Native platforms — web, mobile (iOS, iPadOS, Android), and TV (Apple TV, Android TV).

Workspaces

Apps

Workspace Description
apps/nativewind-multiplatform-app Nativewind v5 app — builds for web, mobile, and TV
apps/uniwind-multiplatform-app Uniwind app — builds for web, mobile, and TV

Packages

Workspace Description
packages/expo-rncss-components @expo/rncss-components — CSS-wrapped React Native and Expo components, and a Metro resolver for transparent className support via react-native-css. Used by apps/nativewind-multiplatform-app.

Getting started

yarn install

Then follow the build instructions in the Nativewind app README or the Uniwind app README.