What's the difference between Card and Surface #273
Replies: 3 comments
-
|
Hey, thank you for your feedback! According to our docs:
Basically, Surface is a styled view with different levels. You can use it whenever you need, with no limitations. At the same time, Card provides layout sections such as header, body, footer, and helper components such as title and description. Card is built on top of Surface, and its main purpose is to be used as a card. Surface is a more generic component, while Card has its primary purpose. I will think about how to improve it. If you have any suggestions, feel free to share them! |
Beta Was this translation helpful? Give feedback.
-
|
Heh, it just feels like pointless duplication, everytime i need this, i always waste time asking myself wheter i should use the Surface or the Card... Which means: === But whats the points of Surface then? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
-
Right now it's really really unclear when it's best to use Surface vs when to use Card.
Maybe Surface is unnecessary? Could we merge it into Card? Or could the docs be improved to outline the important differences based on the use-cases?
Beta Was this translation helpful? Give feedback.
All reactions