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: docs/components/card.md
+29-29Lines changed: 29 additions & 29 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,16 +1,17 @@
1
1
# Card
2
2
3
-
`Card` is a basic container component in Miuix, used to hold related content and actions. It provides a card container with Miuix style, suitable for scenarios such as information display and content grouping.
3
+
`Card` is a basic container component in Miuix, used to hold related content and actions. It provides a card container with Miuix style, suitable for scenarios such as information display and content grouping. Supports both static display and interactive modes.
4
4
5
5
## Import
6
6
7
7
```kotlin
8
8
importtop.yukonga.miuix.kmp.basic.Card
9
+
importtop.yukonga.miuix.kmp.utils.PressFeedbackType// If using interactive card
9
10
```
10
11
11
12
## Basic Usage
12
13
13
-
The Card component can be used to wrap and organize content:
14
+
The Card component can be used to wrap and organize content (static card):
14
15
15
16
```kotlin
16
17
Card {
@@ -22,34 +23,38 @@ Card {
22
23
23
24
### Card Properties
24
25
25
-
| Property Name | Type | Description | Default Value | Required |
0 commit comments