# Adaptive Card sample: Container styles

- id: `container`
- Adaptive Card schema version: 1.5

Showcases all Container styles — Default, Emphasis, Accent, Good, Attention, Warning — with showBorder and roundedCorners.

## Elements

- `Container` — style: default, showBorder, roundedCorners
- `Container` — style: emphasis
- `Container` — style: accent
- `Container` — style: good
- `Container` — style: attention
- `Container` — style: warning

## Card JSON

```json
{
  "type": "AdaptiveCard",
  "version": "1.5",
  "body": [
    {
      "type": "Container",
      "showBorder": true,
      "roundedCorners": true,
      "items": [
        {
          "type": "TextBlock",
          "text": "Default container style",
          "wrap": true,
          "size": "Large"
        }
      ]
    },
    {
      "type": "Container",
      "showBorder": true,
      "roundedCorners": true,
      "style": "emphasis",
      "items": [
        {
          "type": "TextBlock",
          "text": "Emphasis container style",
          "wrap": true,
          "size": "Large"
        }
      ]
    },
    {
      "type": "Container",
      "showBorder": true,
      "roundedCorners": true,
      "style": "accent",
      "items": [
        {
          "type": "TextBlock",
          "text": "Accent container style",
          "wrap": true,
          "size": "Large",
          "color": "Accent"
        }
      ]
    },
    {
      "type": "Container",
      "showBorder": true,
      "roundedCorners": true,
      "style": "good",
      "items": [
        {
          "type": "TextBlock",
          "text": "Good container style",
          "wrap": true,
          "size": "Large",
          "color": "Good"
        }
      ]
    },
    {
      "type": "Container",
      "showBorder": true,
      "roundedCorners": true,
      "style": "attention",
      "items": [
        {
          "type": "TextBlock",
          "text": "Attention container style",
          "wrap": true,
          "size": "Large",
          "color": "Attention"
        }
      ]
    },
    {
      "type": "Container",
      "showBorder": true,
      "roundedCorners": true,
      "style": "warning",
      "items": [
        {
          "type": "TextBlock",
          "text": "Warning container style",
          "wrap": true,
          "size": "Large",
          "color": "Warning"
        }
      ]
    }
  ]
}
```
