Skip to content

Commit 2d26bdb

Browse files
committed
docs(action-cards): add ux docs
1 parent 9efa809 commit 2d26bdb

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

docs/components/layout-navigation/cards.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,16 @@ Use distinct colors, such as `$element-ui-0`, to emphasize information without i
5757

5858
For status indication, refer to the [value widget](../dashboards/value-widget.md).
5959

60+
### Action cards
61+
62+
Action cards are interactive elements where the entire container is selectable and triggers a single action.
63+
They support hover, pressed, focus, and disabled states.
64+
They can also retain a selection state, behaving like a toggle.
65+
66+
Action cards do not include other interactive elements to prevent conflicting interactions.
67+
68+
![Action cards](images/card-action.png)
69+
6070
### Card sizes
6171

6272
![Card sizes](images/card-usage-sizes.png)
552 KB
Loading

0 commit comments

Comments
 (0)