---
id: error-message
title: ErrorMessage
---

# ErrorMessage

Follow the validation pattern and show an error message when there is a validation error.
In the error message explain what went wrong and how to fix it.

## How to use

<code src="@digigov/ui/src/form/ErrorMessage/__stories__/Default.tsx" />

## API

See below for a complete reference to all of the props  available to the components mentioned here.

<ComponentProps componentName={["ErrorMessage"]} /> 
