The content object is where you specify the UI of your app. You provide us with a set of components in a components array that we then render.

The content object should usually be returned within the canvas object. If you're responding to a Live Canvas request however, then you should only respond with the content object.


componentsarrayThe list of components to be rendered. See the components further in this reference.

Example Object

  content: {
    components: [
        "type": "text",
        "id": "component-1",
        "text": "This is the first component",
        "align": "center",
        "style": "header"
        "type": "button",
        "id": "component-2",
        "label": "This is the second component",
        "action": {
          "type": "submit"