Cards #47
mattbrailsford
started this conversation in
General
Cards
#47
Replies: 1 comment
-
This issue reminds me of something Lee Kelleher spoke about a while ago, Atomic Design https://atomicdesign.bradfrost.com/chapter-2/ The base card is the atom and the specific concept cards should probably be templates but they are defined more like molecules, which if they are like molecules I think they are probably named incorrectly. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Looking at the various Card components, I'm not entirely sure how these are meant to work. We currently have a
uui-card
base element which looks to define some base styling + functionality but has no UI template (which, OK). But we then haveuui-media-card
,uui-user-card
and wipuui-package-card
.The problem I'm having understanding is that looking at the various "specific" cards, their templates don't really hold the actual UI that makes that type of card that type of card. It's just basic structural elements. So the question is, why do we have these "concept focused" card implementations that don't encapsulate the given concept?
Shouldn't either these implementations contain everything that makes that type of card what it is? or there be a more generic base card that can handle the relevant behaviors these different cards need? (what those are, I'm not sure) And if the later, do we need to be making cards for every slightly different use? or shouldn't there be a more rounded concept of a card that works for all cards?
Beta Was this translation helpful? Give feedback.
All reactions