Loading overlay for panels and forms with optional blocking backdrop and spinner.
LoadingOverlay covers a positioned container while async work runs. Place inside a position: relative parent so the overlay constrains to that surface, not the whole document.
Set open and pair with a loading state in your component.
Form content
<div style={{ position: "relative", padding: "24px", border: "1px solid var(--fd-border-subtle)", borderRadius: "10px" }}>
<LoadingOverlay label="Saving" open />
<p>Form content</p>
</div>import { LoadingOverlay } from "@froggdesign/enter-ui-react";Renders with aria-busy="true" and aria-live="polite" so screen readers announce the loading state. Avoid stacking multiple overlays on the same surface.
open: required. Returns null when false.label: text rendered next to the spinner (default "Loading").blocking: when true (default), the overlay blocks pointer events and applies a small backdrop blur.Every exported component accepts className. EnterUI styles use .eui-* classes and --eui-* variables mapped from FroggDesign theme tokens.