Skip to content
Error summary, light
Light
Error summary, dark
Dark

Every state

  • Error summary, default, light
    Error summary, default, dark

    default

  • Error summary, single, light
    Error summary, single, dark

    single

  • Error summary, focus-link, light
    Error summary, focus-link, dark

    focus-link

  • Error summary, hover, light
    Error summary, hover, dark

    hover

Props

PropTypeDefaultWhat it does
idstring"error-summary"Id of the summary; its heading id hangs off it.
titlestring–Heading. Empty says "There is a problem" or "There are three problems".
descriptionstring–A line under the heading.
errors{ fieldId: string; message: string }[]–The errors, in the order of the fields. Each links to the element with that id.
focusOnMountbooleantrueMoves focus to the summary when it appears, so a screen reader reads it after a submit.
classNamestring–Extra classes on the summary.

More form messages

All 7
form-message-01 is in UI ProGet UI Pro, €199

Preview

Open the page
In UI Pro: get it, €199 once

With every block and theme. 400+ buyers since 2020. Plans