Checkbox group

View as Markdown

A checkbox group lets you select multiple options from a list. A checkbox represents each option. This component organizes the checkboxes within a structured section for better clarity and usability.

Example

Example

JSON example

{
  "content": {
    "settings": {},
    "body": [
      {
        "type": "section",
        "layout": "horizontal",
        "sections": [
          {
            "type": "message",
            "text": "This is a section block with checkbox group"
          },
          {
            "type": "checkboxes",
            "action_id": "checkboxes_action",
            "options": [
              {
                "text": "Checkbox 1",
                "value": "value1"
              },
              {
                "text": "Checkbox 2",
                "value": "value2"
              },
              {
                "text": "Checkbox 3",
                "value": "value3"
              }
            ]
          }
        ]
      }
    ]
  }
}