# `ShadcnUI.Components.Forms.ErrorSummary`
[🔗](https://github.com/pcharbon70/shadcn_ui/blob/main/lib/shadcn_ui/components/forms/error_summary.ex#L1)

Form-level error overview with ordinary fragment links.

The caller owns announcement, focus, scrolling, and navigation policy. The
component adds no alert role, focus target, autofocus, or script by default.

# `error_summary`

Renders ordered escaped form messages.

A binary entry is form-level text. A `{control_id, message}` tuple or a map
with `:control_id` and `:message` creates an ordinary fragment link.

## Attributes

* `id` (`:string`) (required)
* `heading` (`:string`) (required)
* `errors` (`:list`) (required)
* `class` (`:any`) - Defaults to `nil`.
* Global attributes are accepted.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
