react-native-unistyles

Level up your React Native StyleSheet
GitHub
1.43k
Created a year ago, last commit 4 hours ago
21 contributors
645 commits
Stars added on GitHub, month by month
N/A
N/A
10
11
12
1
2
3
4
5
6
7
8
9
2023
2024
Stars added on GitHub, per day, on average
Yesterday
+8
Last week
+2.9
/day
Last month
+2.3
/day
Package on NPM
Monthly downloads on NPM
10
11
12
1
2
3
4
5
6
7
8
9
2023
2024
No dependencies
README

react-native-unistyles react-native-unistyles-3.0

GitHub package.json version npm downloads npm downloads License: MIT
platform - expo platform - web platform - ios platform - macos platform - appletv platform - visionos platform - android platform - androidtv platform - windows platform - ssr

Installation

yarn add react-native-unistyles

Install CocoaPods dependencies / generate native folders with Expo:

pod install
npx expo prebuild

Features

  • 🚀 Shared core with C++ and JSI bindings
  • 🌉 Supports new architecture and bridgeless mode
  • 🔥 Crazy performance, adds under 0.1 ms to your StyleSheet
  • 🎳 Share up to 100% of your styles across platforms in monorepo
  • 🎯 Doesn't introduce new components, everything is packed in one hook
  • ⚛️ No React Context, no React Native events
  • 🖥️ Supports custom breakpoints, css-like media queries and variants
  • 🎨 Register multiple themes and change them with single function call
  • 🥳 Compatible with all React Native platforms
  • 🛡️ ~99% Test coverage
  • 🔌 Extend stylesheets with your own plugins
  • ⚔️ No 3rd party dependencies
  • and much much more!

Sponsors

How to become a sponsor?

codemask galaxies-dev mobily mwarger

Past sponsors

kmartinezmedia levibuzolic claudesortwell luoxuhai anonymous abanobboles

Sponsor my work

If you found the react-native-unistyles time-saving and valuable, please consider sponsoring my work. Your support enables me to continue creating libraries with a fresh approach.

Github: https://github.com/sponsors/jpudysz

Ko-fi: https://ko-fi.com/jpudysz

Your support is greatly appreciated and helps me dedicate more time and resources to creating quality libraries. Thank you for all the support!

UI Kits

Stacks

Plugins

eslint-plugin-react-native-unistyles

Discord

Looking for help or you want to chat with me?

Join Discord

License

MIT