A2Card
Card container component with configurable width variants.
Props
| Property | Type | Default | Description |
|---|---|---|---|
width | `xs | sm | md |
header | string | - | Header title (auto-shows Document icon when set) |
headerBgColor | string | #F8F8FB | Header background color |
shadow | `always | hover | never` |
Width Standards
| Value | Pixels |
|---|---|
xs | 300px |
sm | 400px |
md | 560px |
lg | 720px |
xl | 960px |
full | 100% |
Basic Example
Nested Layout Example
JSON Schema
json
{
"id": "cardId",
"type": "a2-card",
"props": {
"width": "xs",
"header": "Card Title",
"shadow": "hover"
},
"children": []
}