InlineAlert - smbc-digital/form-builder GitHub Wiki

Refer to Stockport Design System for styling information and reference images

DSL properties

Property Type Required Default Value Description
Label string H2 within the inline alert
Text string Text which appears beneath the label

Inline alert examples

DS Json for inline alert

image

 {
    "Title": "Enter your street",
    "PageSlug": "street-search",
    "Elements": [
         {
            "Type": "InlineAlert",
            "Properties": {
              "Label": "Inline alert with additional text",
              "Text": "This is some text"
            }
          },
          {
            "Type": "InlineAlert",
            "Properties": {
              "Label": "Inline alert without additional text"
            }
          },
      ]
    }