Alert summary for form errors with optional field links.
ValidationSummary gives long forms a single error summary near the submit action or page top, while individual fields still own their local errors.
Link each error to its field when the target exists.
Fix the following issues
<ValidationSummary
errors={[
{ id: "amount", field: "Amount", message: "Enter a value greater than zero.", href: "#amount" },
{ id: "website", field: "Website", message: "Use an allowed protocol.", href: "#website" },
]}
/>import { ValidationSummary } from "@froggdesign/enter-ui-react";Use ValidationSummary for admin forms, onboarding flows, billing settings, and multi-section forms where users need a concise list of corrections.
The summary renders role="alert" only when errors exist. Use href to let keyboard and assistive technology users jump directly to the affected field.
errors: { id?, field?, message, href? }[].title: custom summary heading.className.ValidationSummary uses .eui-validation-summary classes and FroggDesign tokens for layout, state, focus, and disabled styling.