- ⚡ Blazing fast, adds around ~3ms on top of StyleSheet*
- 🎳 Share up to 100% of your styles across platforms in monorepo
- 🎯 Doesn't introduce new components
- 🖥️ Supports custom breakpoints and css-like media queries
- 🎨 Access theme in your StyleSheets and components
- 🪄 Supports dynamic functions to access values from JSX
- 🥳 Compatible with Expo, Expo Go, Bare React Native, React Native Web and SSR
- 🛡️ ~99% Test coverage
- ⚔️ No 3rd party dependencies
*-based on this benchmark
yarn add react-native-unistyles
There is ongoing work on branch 2.0.
Join early testers and discussion here.
yarn add react-native-unistyles@next
Read about what drove me to create this library in this blog post here.
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!
MIT