EEnterUI
DocsComponentsThemesDonation
Get Started
      • ErrorState
      • ErrorBoundaryFallback
      • LoadingOverlay
      • SkeletonForm
EnterUIDocsProduct OperationsProduct SurfacesError and LoadingLoadingOverlay
Product OperationsUpdated 6 May 2026

LoadingOverlay

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.

#Default usage

Saving form

Set open and pair with a loading state in your component.

Saving

Form content

Code
<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

Code
import { LoadingOverlay } from "@froggdesign/enter-ui-react";

#Accessibility

Renders with aria-busy="true" and aria-live="polite" so screen readers announce the loading state. Avoid stacking multiple overlays on the same surface.

#API

  • 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.

#Styling

Every exported component accepts className. EnterUI styles use .eui-* classes and --eui-* variables mapped from FroggDesign theme tokens.

PreviousErrorBoundaryFallback
NextSkeletonForm

On this page

  1. Default usage
  2. Import
  3. Accessibility
  4. API
  5. Styling