What's the difference between Box and Surface comp...
# compose
s
What's the difference between Box and Surface components? The Surface looks like a Material Theme specific component and that's it?
a
😮 1
Surface
sets some theme parameters for its content as well as elevation/shape clipping.
h
Box always felt like a generic purpose layout. Now it's becoming
Stack
feels right.
Surface
as you said in your question is related to material design https://material.io/design/environment/surfaces.html#material-environment
236 Views