Components

Birth summary

Summary of a birth registration. WRITE MORE DESCRIPTION HERE.

<li class="ho-lev-birth-summary">
  <article>
    <a
      class="govuk-link ho-lev-birth-summary__link"
      href="/?selected=1"
    >
      <div class="ho-lev-birth-summary__heading">
        John SMITH
      </div>
      <table class="ho-lev-birth-summary__data">
        <tbody>
          <tr>
            <th>Place of birth</th>
            <td>Bournemouth</td>
          </tr>
          <tr>
            <th>Mother</th>
            <td>Jane SMITH</td>
          </tr>
          <tr>
            <th>Father</th>
            <td>William SMITH</td>
          </tr>
        </tbody>
      </table>
    </a>
  </article>
</li>
Props
Name Type Default Description
id string - 'id' attribute to place on the base HTML element
classBlock string - Block name override in BEM style classes applied to all elements
classModifiers other - BEM style modifiers to apply to the base HTML element
className string - Extra classes to apply to the base HTML element
birthplace string - REQUIRED. Place of birth
father other - REQUIRED. Child's father
forenames string - REQUIRED. Child's forenames
mother other - REQUIRED. Child's mother
number number - REQUIRED. Number in list
surname string - REQUIRED. Child's surname

Stories

Standard

A standard BirthSummary.

<li class="ho-lev-birth-summary">
  <article>
    <a
      class="govuk-link ho-lev-birth-summary__link"
      href="/?selected=1"
    >
      <div class="ho-lev-birth-summary__heading">
        John SMITH
      </div>
      <table class="ho-lev-birth-summary__data">
        <tbody>
          <tr>
            <th>Place of birth</th>
            <td>Bournemouth</td>
          </tr>
          <tr>
            <th>Mother</th>
            <td>Jane SMITH</td>
          </tr>
          <tr>
            <th>Father</th>
            <td>William SMITH</td>
          </tr>
        </tbody>
      </table>
    </a>
  </article>
</li>