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: guidelines/components/card/README.md
+54-46Lines changed: 54 additions & 46 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,25 +5,34 @@ A card can be defined as a unit, so it has all the information within it, making
5
5
6
6
The structure of the card can be seen as blocks, each block is optional to be displayed but the overall element should make a cohesive design, even if it includes text, images or other elements.
7
7
8
-
## Appearance
8
+
## Usage
9
9
10
-
Even a card is defined as a unit by itself, it is common to represent cards in a set, with a grid structure in which each card has different information but from the same field.
10
+
* Organize the card collection so thery are easy to use, take a layout that presents the information in a clear way and apply the same styles for every card
11
+
* If a collection want be create, won't use different card styles, use the same to keep consistency
11
12
12
-
### Modes
13
13
14
-
The card component doesn't have modes, instead the component has many ways of configuration with images, custom containers and background colors to adapt it to the needs of the UI.
14
+
## States
15
15
16
-

16
+
Component states: **Enabled**, **hover** and **focus**.
17
17
18
-
### States
18
+

19
19
20
-
The only state that is controlled in the card component is the hover. As it is needed visual feedback to give the user a notion of which card is involve in the action, the rest of the states are directly dependent on the components defined inside of the card.
- Organize the card collection so thery are easy to use, take a layout that presents the information in a clear way and apply the same styles for every card
103
-
- If a collection want be create, won't use different card styles, use the same to keep consistency
0 commit comments