Separator

This component renders a separating line within a box.

If it is added to a horizontal box, a vertical line is drawn; if added to a vertical box, a horizontal line is drawn.

Request {#separator-request-parameter}

ParameterTypeRequiredDescription
typestringYSet this parameter to separator.
marginstringNThe minimum space between the component and the previous component in the parent component. For more information, see margin.
colorstringNSeparator color. Set a hex color code.

Request example {#separator-request-example}

{  "type": "bubble",  "body": {    "type": "box",    "layout": "vertical",    "spacing": "md",    "contents": [      {        "type": "box",        "layout": "horizontal",        "spacing": "md",        "contents": [          {            "type": "text",            "text": "message"          },          {            "type": "text",            "text": "calendar"          }        ]      },      {        "type": "separator"      },      {        "type": "box",        "layout": "horizontal",        "spacing": "md",        "contents": [          {            "type": "text",            "text": "bot"          },          {            "type": "text",            "text": "home"          }        ]      }    ]  }}