WarUI

Custom Overlay Renderers

GRID-A03-F07P2baselinePlanned

Developers can replace the empty, loading and error overlays with their own renderers, which receive context such as the error, the active filter state and a retry callback. This lets teams match their design system, for example with illustrations or call-to-action buttons.

Planned. This page shows the specification from issue #179. The live example, source for every framework and the API reference replace it when the feature ships.

Live example

An empty grid with a custom no-rows renderer that includes an illustration and a CTA button.

Expected behavior

Each state renders the custom component with the correct context. The CTA inside the empty overlay adds rows, and the overlay then disappears.

Planned API surface

overlayNoRowsRendereroverlayLoadingRendereroverlayErrorRendereroverlayRendererParamsOverlayContext

Acceptance criteria

  • Custom renderers receive an OverlayContext with type, error, retry and displayedRowCount (pending)
  • Interactive elements inside overlays are keyboard reachable (pending)
  • Switching renderers at runtime takes effect immediately (pending)
  • Renderers are disposed when the overlay hides (pending)