You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: apps/docs/content/components/Card/index.mdx
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ Cards should always be used in groups of two or more related concepts.
30
30
31
31
### Stacked
32
32
33
-
Cards should be stacked to display a list of items that are related to each other. If displaying a visual asset, do so for all cards to achieve a visually balanced layout. The visual asset should be the same type for all cards, either an icon or an image.
33
+
Cards should be stacked to display a list of items that are related to each other. When displaying a visual asset, ensure it is consistent across all cards to create a visually balanced layout. The visual asset should be the same type for each card, either an icon or an image.
34
34
35
35
For a better visual experience, we recommend using similar length size for the heading and description in all stacked cards.
36
36
@@ -123,7 +123,7 @@ The call to action label indicates the action or resource the card links to. It
123
123
124
124
### Border
125
125
126
-
Card offers a variation with a border. Border is disabled by default.
126
+
Card offers a variation with a border. Border is disabled by default.
Use pillars to group similar features or benefits together to easily scan and read. Pillars display content in a familiar and recognizable style.
23
+
Use pillars to display a collection of features or benefits, making them easier to scan and read. Pillars present content in a familiar and recognizable style.
21
24
22
25
### Stacked
23
26
24
-
Pillars should be stacked to display a list of itemsthat are related to each other. Use consistent pillar sizes within a row or group. A group or a row of content pillars is more visually appealing when the widths and heights of all elements match, so keep the content lenght of each pillar consistent.
27
+
Stack multiple pillars to create a collection of items. Ensure that all the items in a group have consistent content lengths so that their width and height match, making the content more visually appealing. When displaying a visual, create a balanced layout by using the same type for each pillar, either an icon or an image.
Use icons either for all pillars or none for a visually balanced layout.
50
+
When using icons, add them to all pillars to create a visually balanced
51
+
layout.
48
52
</Caption>
49
53
</Do>
50
54
<Dont>
@@ -53,9 +57,23 @@ If displaying an icon, do so for all cards to achieve a visually balanced layout
53
57
</Dont>
54
58
</DoDontContainer>
55
59
56
-
When presenting more than four pillars, we recommend displaying them in multiple rows. You can use the [Grid](/components/Grid) or the [Stack](/components/Stack) component to achieve this. We recommend using a grid with 3 or 4 columns and balancing the number of pillars on each row.
60
+
<DoDontContainer>
61
+
<Do>
62
+
<imgalt=""src={doStackImages} />
63
+
<Caption>
64
+
When using images, add them to all pillars to create a visually balanced
65
+
layout.
66
+
</Caption>
67
+
</Do>
68
+
<Dont>
69
+
<imgalt=""src={dontStackImages} />
70
+
<Caption>Don't use images with different aspect ratios.</Caption>
71
+
</Dont>
72
+
</DoDontContainer>
73
+
74
+
When presenting more than four pillars, we recommend displaying them in multiple rows. You can use the [Grid](/components/Grid) or the [Stack](/components/Stack) component to achieve this. We recommend using a grid with three or four columns and balancing the number of pillars on each row.
57
75
58
-

76
+

59
77
60
78
### Pillar and Card
61
79
@@ -71,18 +89,18 @@ Cards should be used for noteworthy information to immediately draw user attenti
71
89
72
90
#### Group size
73
91
74
-
Cards should be used in small groups (3, 4 or 5 items maximum), whereas Pillars can be used in larger (more than 5 items) or smaller groups. As users encounter an increasing number of items within a group, the distinctiveness of each individual element diminishes.
92
+
Cards should be used in small groups of three to five items, while Pillars can accommodate larger groups of up to six items. The more items in a group, the less distinctive each individual element becomes.
0 commit comments