Card
A container for content with header, body, and footer sections.
s0 add card
Usage
S0.Card {
S0.CardHeader {
S0.CardTitle("Account")
S0.CardDescription("Manage your account settings.")
}
S0.CardContent {
Text("Card body content goes here.")
}
S0.CardFooter {
S0.Button("Save", action: { })
}
}Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| content | @ViewBuilder () -> Content | — | Card body. Use CardHeader, CardContent, and CardFooter inside. |