[
  {
    "name": "id",
    "type": "string",
    "required": false,
    "description": "The ID of the caption.",
    "released": "10.6.0"
  },
  {
    "name": "element",
    "type": "string",
    "required": false,
    "description": "HTML element for the caption – for example, `\"span\"`, `\"p\"`, `\"h2\"` or `\"h3\"`. Defaults to `\"span\"`.",
    "released": "10.6.0"
  },
  {
    "name": "text",
    "type": "string",
    "required": true,
    "description": "If `html` is set, this is not required. Text to use within the caption. If `html` is provided, the `text` option will be ignored.",
    "released": "10.6.0"
  },
  {
    "name": "html",
    "type": "string",
    "required": true,
    "description": "If `text` is set, this is not required. HTML to use within the caption. If `html` is provided, the `text` option will be ignored.",
    "released": "10.6.0"
  },
  {
    "name": "caller",
    "type": "nunjucks-block",
    "required": false,
    "description": "Not strictly an option but supports the [`call` block](https://mozilla.github.io/nunjucks/templating.html#call) as an alternative to the `html` option. To use it, you will need to wrap the entire caption component in a `call` block.",
    "released": "10.6.0"
  },
  {
    "name": "placement",
    "type": "string",
    "required": true,
    "description": "Placement of the caption relative to the heading – `\"before\"`, `\"after\"`, `\"start\"` or `\"end\"`.",
    "released": "10.6.0"
  },
  {
    "name": "size",
    "type": "string",
    "required": false,
    "description": "Size of the caption – `\"m\"`, `\"l\"`, `\"xl\"` or `\"xxl\"`.",
    "released": "10.6.0"
  },
  {
    "name": "classes",
    "type": "string",
    "required": false,
    "description": "Classes to add to the caption.",
    "released": "10.6.0"
  },
  {
    "name": "attributes",
    "type": "object",
    "required": false,
    "description": "HTML attributes (for example data attributes) to add to the caption.",
    "released": "10.6.0"
  }
]
