Documentation
Features
- π Shared core with C++ and JSI bindings
- π Supports new architecture
- π₯ 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
- π₯οΈ Supports custom breakpoints, css-like media queries and variants
- π¨ Register multiple themes and change them with single function call
- π₯³ Compatible with Expo, Bare React Native, React Native Web and SSR
- π‘οΈ ~99% Test coverage
- π Extend stylesheets with your own plugins
- βοΈ No 3rd party dependencies
- and much much more!
Installation
# Unistyles is currently in RC phase
yarn add react-native-unistyles@next
Discord
Looking for help or you want to chat with me?
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!
License
MIT