セパレータ

ボックス内に区切り線を表示するコンポーネントです。

水平ボックスでは縦に線 (垂直線)、垂直ボックスでは横に線 (水平線) が描画されます。

Request Content {#separator-request-parameter}

パラメータタイプ説明
typestring"separator"
required
marginstring親要素内での、特定のコンポーネントとその前のコンポーネントとの間に挿入される余白の最小サイズ
詳しくは、レイアウト > コンポーネントの margin プロパティ を参照してください。
colorstringセパレータの色
16 進数カラーコードで設定します。

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"          }        ]      }    ]  }}