Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork24
Stacks v4.0.0 (with Unistyles v3)#53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
base:main
Are you sure you want to change the base?
Uh oh!
There was an error while loading.Please reload this page.
Conversation
Code-Victor commentedMay 20, 2025
Guyyssss, please I can't wait for this to get released! |
marcel-happyfloat commentedMay 23, 2025
@Code-Victor you can already use it by installing the beta, as stated in the post, |
ananjaemin commentedJul 7, 2025
ananjaemin commentedJul 25, 2025
😭 |
kitolog commentedJul 29, 2025
Hello, thanks for the awesome library! Is there a roadmap to plan the migration to support the new unistyles? |
erickreutz commentedAug 21, 2025
@mobily LTGM? |
maksim-romanov commentedSep 5, 2025
🚀 Excited to see this update! Been waiting for the new Unistyles support — really looking forward to trying it out. Curious though, why such a long wait for this release? Thanks for pushing it forward 🙌 |
This PR brings a major update to Stacks. It's using
Unistyles v3
now, and you'll need at leastReact Native v0.76.0
to get started. SinceUnistyles v3
is still in beta, this new version ofStacks
is also in beta for the time being. Once Unistyles gets to a stable version, I'll release a stable version of Stacks too.To grab the beta version of Stacks, just run the following command:
What's New
Box
New props have been added:
outlineColor
outlineStyle
outlineWidth
outlineOffset
pointerEvents
opacity
overflow
The
outline*
props are available only if you useRN v0.77.0
at least.Columns
/Column
I've cleaned things up by removing a bunch of props from both components. Here's what's gone:
backgroundColor
borderRadius
borderTopLeftRadius
borderTopRightRadius
borderBottomLeftRadius
borderBottomRightRadius
borderWidth
borderTopWidth
borderRightWidth
borderBottomWidth
borderLeftWidth
borderColor
Also, the following new props are not included:
outlineColor
outlineStyle
outlineWidth
outlineOffset
So instead of using your components like this:
You should switch to this format:
I'm super excited about this release, a new version of Unistyles looks fantastic! If you run into any bugs or have ideas on how we can make things better, I'd love to hear from you.