react-native-unistyles

Level up your React Native StyleSheet
GitHub
1.55k
Created a year ago, last commit 3 days ago
24 contributors
667 commits
Stars added on GitHub, month by month
N/A
11
12
1
2
3
4
5
6
7
8
9
10
2023
2024
Stars added on GitHub, per day, on average
Yesterday
+3
Last week
+3.3
/day
Last month
+2.7
/day
npmPackage on NPM
Monthly downloads on NPM
11
12
1
2
3
4
5
6
7
8
9
10
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
or
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 biw happyfloat

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