Introduction
Unistyles is a cross-platform library that enables you to share up to 100% of your styles across all platforms.
It combines the simplicity of StyleSheet
with the performance of C++
.
Unistyles
is a superset of StyleSheet
similar to how TypeScript
is a superset of JavaScript
.
If you’re familiar with styling in React Native, then you already know how to use Unistyles
.
Quick demo
-
Import Unistyles
-
Define your StyleSheet with
createStyleSheet
-
Use
useStyles
hook to access styles -
That’s it! No providers, no context!
The library offers first-class support for TypeScript
, providing guidance with Intellisense as you create your extended StyleSheets.
Are you ready to give it a try?