Skip to content
Added 2 Sept 2026
Back to library
error-summary-panel-15835
Error Summary Panel
Forms & Validation

Error Summary Panel

Red summary block counting the form errors above the fields themselves, where hovering one of the listed messages rings the field it belongs to and reddens its label.

Forms & Validationerrorssummaryvalidationlinkedform
lines of CSS
63lines of CSS
dependencies
0dependencies
baseline browsers
Newlybaseline browsers
motion only on interaction
Hovermotion only on interaction
Backdrop
Open a live copy in

Vue, Svelte, styled-components and Tailwind exports are part of Pro. HTML, CSS and React are free forever.

error-summary-panel-15835.css
.fx-v14-fm-errsummary-15834 {
  width: 248px;
  color: #cbd5e1;
}
.fx-v14-fm-errsummary-15834 .sm {
  padding: 0.4rem 0.55rem;
  background: rgba(248,113,113,0.1);
  border: 1px solid rgba(248,113,113,0.35);
  border-left: 3px solid #f87171;
  border-radius: 0.4rem;
}
.fx-v14-fm-errsummary-15834 .sm b {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.66rem;
  color: #fecaca;
}
.fx-v14-fm-errsummary-15834 .sm i {
  display: grid;
  place-items: center;
  width: 13px;
  height: 13px;
  font-style: normal;
  font-size: 0.55rem;
  font-weight: 700;
  color: #450a0a;
  background: #f87171;
  border-radius: 50%;
}
.fx-v14-fm-errsummary-15834 .sm a {
  display: block;
  margin-top: 0.2rem;
  margin-left: 1.1rem;
  font-size: 0.6rem;
  color: #fca5a5;
  text-decoration: underline;
  text-underline-offset: 2px;
  cursor: pointer;
  transition: color 0.18s ease;
}
.fx-v14-fm-errsummary-15834 .sm a:hover { color: #fff1f2; }
.fx-v14-fm-errsummary-15834 .fs { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 0.5rem; }
.fx-v14-fm-errsummary-15834 .f span:first-child { display: block; margin-bottom: 0.16rem; font-size: 0.56rem; color: #64748b; }
.fx-v14-fm-errsummary-15834 .f input, .fx-v14-fm-errsummary-15834 .f .sel {
  display: block;
  width: 100%;
  padding: 0.3rem 0.45rem;
  font: inherit;
  font-size: 0.68rem;
  color: #e2e8f0;
  background: #0d1424;
  border: 1px solid #29344d;
  border-radius: 0.35rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.fx-v14-fm-errsummary-15834 .f .sel { color: #64748b; }
.fx-v14-fm-errsummary-15834:has(.l1:hover) .f1 input, .fx-v14-fm-errsummary-15834:has(.l2:hover) .f2 .sel {
  border-color: #f87171;
  box-shadow: 0 0 0 3px rgba(248,113,113,0.2);
}
.fx-v14-fm-errsummary-15834:has(.l1:hover) .f1 span:first-child, .fx-v14-fm-errsummary-15834:has(.l2:hover) .f2 span:first-child { color: #fca5a5; }
error-summary-panel-15835.html
<div class="fx-v14-fm-errsummary-15834">
  <div class="sm">
    <b><i>!</i>2 problems with this form</b>
    <a class="l1">Enter a valid email address</a>
    <a class="l2">Choose a plan</a>
  </div>
  <div class="fs">
    <label class="f f1">
      <span>Email</span>
      <input type="text" value="mira@" />
    </label>
    <label class="f f2">
      <span>Plan</span>
      <span class="sel">Select…</span>
    </label>
  </div>
</div>

What do I do with this?

  1. Put error-summary-panel-15835.css anywhere your page already loads CSS from — in Next.js that is app/globals.css, or any stylesheet with a <link> in your HTML.
  2. Then put the class on the element you want it on: <button class="fx-v14-fm-errsummary-15834">. The CSS does nothing until a class name in it matches something on the page.
  • Link the stylesheet, then paste the markup wherever you need it.
npx hoverlab add error-summary-panel-15835

What's included

  • The markup and the stylesheet, in whichever framework you pick
  • No runtime dependencies

Works with

  • React
  • Vue
  • Svelte
  • Tailwind
  • styled-components
  • Plain CSS

npx hoverlab add error-summary-panel-15835

Or over MCP, from your editor's agent — no account needed.

License

Free to read, copy and install, for personal and non-commercial projects. Shipping it in client work or a paid product needs Pro ($79 once). The source lands in your repo and stops being ours — no attribution, nothing to upgrade.

Was this useful?

Motion safety

Static estimate, read from the CSS

Reduced motion
Brief motion, no guard

Animates briefly or on interaction. Only looping motion gets a guard in this catalog; copy the one from the Insights tab if this ships on a critical path.

What it animates
Repaints

Animates border-color, box-shadow, color. No reflow, but the browser repaints every frame, which is fine for one element and costly across many.

Flashing (WCAG 2.3.1)
No flashing found

No repeating change in opacity, colour or brightness large enough to count as a flash.

Layout shift (CLS)
No shift expected

Nothing it animates moves or resizes the box in flow. A category from the CSS, not a measurement for this effect.

Every row is read from the shipped CSS. Only a figure marked measured came from a browser. Customizing the speed changes the timing, so recheck a customized copy. How it is computed

33 more effects in Forms & Validation

All of them free to read, copy and install — no account, no locked tiles, no watermarked preview. The whole catalog is open, and so are the API and the CLI.

Browse Forms & Validation

Shipping one commercially

Copying the code is free. Putting it in client work or a paid product is what Pro is for — the licence, not the access.

  • A commercial licence for everything in the catalog
  • Unlimited bundle exports, in Vue, Svelte and Tailwind
  • One payment — no subscription, nothing to renew
Pro — $79 once

7 variations of Error Summary Panel

Finished looks, each one a position in the customizer above. Copy any of them, or open it and keep moving the sliders.