< Context / Components

Section

Introduction

Separates a section of content.

Body

language

-ISO Language Codes

Changes language from default language set in context.settings.language
ISO Language Codes

role

-text

Optional. Defines the role of the section for screen reader accessibility options are region group article. If you're unsure it's advised to leave this blank.

Style

section

Components

This can contain all standard components.

Example .json

  {
    "type":"section",
    "body":{
      "role":"region"
    },
    "style":{
      "section":{
        "background":{
          "color":"#f2f2f2"
        },
        "border": {
          "color": "#f69513",
          "width": "5",
          "style": "solid",
          "radius": "10"
        },
        "margin": {
          "top": "20",
          "right": "20",
          "bottom": "20",
          "left": "20"
        },
        "padding": {
          "top": "10",
          "right": "20",
          "bottom": "10",
          "left": "20"
        }
      }
    },
    "components":[

    ]
  }