Skip to content

A2Card

Card container component with configurable width variants.

Props

PropertyTypeDefaultDescription
width`xssmmd
headerstring-Header title (auto-shows Document icon when set)
headerBgColorstring#F8F8FBHeader background color
shadow`alwayshovernever`

Width Standards

ValuePixels
xs300px
sm400px
md560px
lg720px
xl960px
full100%

Basic Example

Basic Card
无内容

Nested Layout Example

Card with Row/Column
无内容

JSON Schema

json
{
  "id": "cardId",
  "type": "a2-card",
  "props": {
    "width": "xs",
    "header": "Card Title",
    "shadow": "hover"
  },
  "children": []
}

A2UI Documentation