Multi Page Form

A base collection of field components rendered on a multi page layout.

Example

Sign-up

cancel
1

Marker title

2

Marker title

3

Marker title

4

Marker title

5

Marker title

@something

<div style="background-color: white">
  <!-- Masthead -->
  <sgds-masthead fluid></sgds-masthead>
  <!-- Header section -->
  <sgds-template-grid>
    <sgds-content-area>
      <sgds-breadcrumb-area>
        <nav class="sgds" aria-label="breadcrumb">
          <ol class="breadcrumb">
            <li class="breadcrumb-item"><a href="#">HOME</a></li>
            <li class="breadcrumb-item active" aria-current="page">SIGN-UP</li>
          </ol>
        </nav>
      </sgds-breadcrumb-area>
      <sgds-content-header-top>
        <h1>Sign-up</h1>
        <div>
          <a href="#" class="me-4">cancel</a>
        <button type="button" class="me-4 btn btn-outline-dark sgds">
          Save as draft
        </button>
        <button type="button" class="btn btn-secondary sgds">Next</button>
        </div>
      </sgds-content-header-top>
          <!-- Stepper component -->
  <div class="sgds stepper">
    <div class="stepper-item is-active">
      <div class="stepper-marker">1</div>
      <div class="stepper-detail">
        <p><b>Marker title</b></p>
      </div>
    </div>
    <div class="stepper-item step-2">
      <div class="stepper-marker">2</div>
      <div class="stepper-detail">
        <p><b>Marker title</b></p>
      </div>
    </div>
    <div class="stepper-item step-3">
      <div class="stepper-marker">3</div>
      <div class="stepper-detail">
        <p><b>Marker title</b></p>
      </div>
    </div>
    <div class="stepper-item step-4">
      <div class="stepper-marker">4</div>
      <div class="stepper-detail">
        <p><b>Marker title</b></p>
      </div>
    </div>
    <div class="stepper-item step-5">
      <div class="stepper-marker">5</div>
      <div class="stepper-detail">
        <p><b>Marker title</b></p>
      </div>
    </div>
  </div>
    <!-- Content section -->
    <section class="shadow rounded p-5 bg-white">
      <form>
        <div class="col-sm-8">
          <div class="row">
            <div class="mb-3 col-md-6 col-12">
              <label class="form-label" for="formSinglePageInput1">Label</label
              ><input
                placeholder="Text goes here"
                type="text"
                id="formSinglePageInput1"
                class="form-control"
              />
            </div>
            <div class="mb-3 col-md-6 col-12">
              <label class="form-label" for="formSinglePageInput2">Label</label
              ><input
                placeholder="Text goes here"
                type="text"
                id="formSinglePageInput2"
                class="form-control"
              />
            </div>
          </div>
          <div class="mb-3">
            <label class="form-label" for="formSinglePageInput3">Label</label>
            <div class="mb-3 input-group sgds">
              <input
                placeholder="Text goes here"
                aria-label="Dollar amount (with dot and two decimal places)"
                id="formSinglePageInput3"
                class="form-control"
              /><span class="input-group-text">@something</span>
            </div>
          </div>
          <div class="mb-3">
            <label class="form-label" for="formSinglePageInput4">Label</label
            ><input
              placeholder="Text goes here"
              type="text"
              id="formSinglePageInput4"
              class="form-control"
            />
          </div>
          <div class="mb-3">
            <label class="form-label" for="formSinglePageSelect1">Label</label
            ><select class="form-select" id="formSinglePageSelect1">
              <option>Text goes here</option>
              <option>Text goes here</option>
              <option>Text goes here</option>
            </select>
          </div>
        </div>
      </form>
    </section>
    <div class="d-flex justify-content-end">
      <button type="button" class="btn btn-secondary sgds">Next</button>
    </div>
    </sgds-content-area>
  </sgds-template-grid>
  <!-- Footer component -->
  <footer class="sgds footer">
    <section class="footer-top">
      <div class="container-fluid">
        <div class="row footer-header">
          <div class="col col-lg-6">
            <div class="title">Singapore Government Design System</div>
            <div class="description">
              Lorem ipsum, dolor sit amet consectetur adipisicing elit. Earum
              illo delectus laborum libero id ratione quibusdam tempora
              assumenda quas, pariatur cum minus, aliquid molestiae et nisi
              dolorem vitae molestias! Voluptate commodi aliquid iusto sequi sit
              eligendi, quod numquam nihil consectetur eaque error earum
              laudantium! Temporibus accusamus pariatur quod totam quia.
            </div>
          </div>
        </div>
        <div class="row footer-items">
          <div class="col-lg-3">
            <div class="title">Column 1</div>
            <ul class="links">
              <li><a href="">About Us</a></li>
              <li><a href="">This is a super long link</a></li>
              <li><a href="">Test</a></li>
              <li><a href="">Test</a></li>
            </ul>
          </div>
          <div class="col-lg-3">
            <div class="title">Category 1</div>
            <ul class="links">
              <li><a href="">About Us</a></li>
              <li><a href="">This is a super long link</a></li>
              <li><a href="">Test</a></li>
              <li><a href="">Test</a></li>
            </ul>
          </div>
          <div class="col-lg-3">
            <div class="title">Category 1</div>
            <ul class="links">
              <li><a href="">About Us</a></li>
              <li><a href="">This is a super long link</a></li>
              <li><a href="">Test</a></li>
              <li><a href="">Test</a></li>
            </ul>
          </div>
        </div>
        <div class="row footer-contact-links">
          <div class="col">
            <div class="d-flex justify-content-lg-end">
              <ul>
                <li><a href="">Contact</a></li>
                <li><a href="">Feedback</a></li>
                <li>
                  <a
                    href="https://www.reach.gov.sg/"
                    target="_blank"
                    rel="noopener noreferrer"
                    >Reach.gov.sg</a
                  >
                </li>
              </ul>
            </div>
          </div>
        </div>
      </div>
    </section>
    <section class="footer-bottom">
      <div class="container-fluid">
        <div class="row footer-mandatory-links">
          <div class="col">
            <ul>
              <li>
                <a
                  href="https://tech.gov.sg/report_vulnerability"
                  target="_blank"
                  rel="noopener noreferrer"
                  >Report Vulnerability</a
                >
              </li>
              <li><a href="">Privacy</a></li>
              <li><a href="">Terms of use</a></li>
            </ul>
          </div>
        </div>
        <div class="row footer-copyrights">
          <div class="col">
            <div class="d-flex justify-content-lg-end">
              © 2022 Government of Singapore. Last Updated 08 Feb 2022
            </div>
          </div>
        </div>
      </div>
    </section>
  </footer>

  

Last updated 02 October 2024
Home


Latest version 2.3.6