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
Past sponsors
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
Plugins
eslint-plugin-react-native-unistyles
Discord
Looking for help or you want to chat with me?
License
MIT