# Adaptive Card sample: TextBlock

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

Demonstrates TextBlock — sizes (Small/Default/Large/ExtraLarge), all standard colors in Layout.Flow, and Monospace fontType.

## Elements

- `TextBlock` — size: Small / Default / Large / ExtraLarge
- `TextBlock` — color: Default / Accent / Good / Warning / Attention — in Layout.Flow
- `TextBlock` — fontType: Monospace, size: Large

## Card JSON

```json
{
  "type": "AdaptiveCard",
  "version": "1.5",
  "body": [
    {
      "type": "TextBlock",
      "text": "Lorem ipsum dolor",
      "wrap": true,
      "size": "Small"
    },
    {
      "type": "TextBlock",
      "text": "Lorem ipsum dolor",
      "wrap": true,
      "size": "Default"
    },
    {
      "type": "TextBlock",
      "text": "Lorem ipsum dolor",
      "wrap": true,
      "size": "Large"
    },
    {
      "type": "TextBlock",
      "text": "Lorem ipsum dolor",
      "wrap": true,
      "size": "ExtraLarge"
    },
    {
      "type": "Container",
      "separator": true,
      "spacing": "ExtraLarge",
      "layouts": [
        {
          "type": "Layout.Flow",
          "horizontalItemsAlignment": "Left",
          "minItemWidth": "0px"
        }
      ],
      "items": [
        {
          "type": "TextBlock",
          "text": "Default",
          "wrap": true
        },
        {
          "type": "TextBlock",
          "text": "Accent",
          "wrap": true,
          "color": "Accent"
        },
        {
          "type": "TextBlock",
          "text": "Good",
          "wrap": true,
          "color": "Good"
        },
        {
          "type": "TextBlock",
          "text": "Warning",
          "wrap": true,
          "color": "Warning"
        },
        {
          "type": "TextBlock",
          "text": "Attention",
          "wrap": true,
          "color": "Attention"
        }
      ]
    },
    {
      "type": "TextBlock",
      "text": "Monospace",
      "wrap": true,
      "fontType": "Monospace",
      "size": "Large",
      "separator": true,
      "spacing": "ExtraLarge"
    }
  ]
}
```
