After watching the WWDC Keynote today, my biggest question is: how do we get Liquid Glas effect in Compose Multiplatform iOS? 😅
My first guess is to get such buttons, a mix of:
• Haze for the buttons background
• A custom border modifier for a border line consisting of a gradient based on the background
But how do we get the 3d effect on the button‘s edges?
Anyone has better ideas?
h
Hristijan
06/09/2025, 10:50 PM
Expect actual, where you implement the iOS side of it natively and just wrap it in Composable while on Android welp, Haze with some overlays probably
K 1
s
Sergey Y.
06/10/2025, 10:00 AM
write custom shader
☝🏻 1
a
Arjan van Wieringen
06/12/2025, 5:11 PM
The Skia shaders dont allow accessibg pixel data outside of the surface AFAIK. Thats why box shadow is also such a hassle. Box shadows, refraction and real blur require access to underlying surfaces outside of the current surface bounds
s
Sergey Y.
06/12/2025, 6:45 PM
It’s not really a problem. For example, Haze handles this by simply extending the effect area. If more pixels need to be captured, just expand that area — simple as that.