Skip to content

VexConfigErrorBanner

VexConfigErrorBanner(props): ReactNode

Defined in: packages/react/src/config/VexConfigErrorBanner.tsx:54

Explains why the Vex config failed to load, in place of the admin (or the whole app, when the client config itself failed). Renders from a VexConfigErrorSummary alone — no config context, no framework components — so it works from a root layout, an admin page, or a framework error file, on the server or the client.

Shows the error’s name and message only when the summary carries detail (development); otherwise the category, the docs link and the framework digest, pointing at the server logs for the rest.

Centred in whatever space it is given: a flex-1 wrapper fills the admin content column, and a caller rendering it as a whole page passes className="min-h-svh" to centre it in the viewport.

string

Layout classes for the centring wrapper.

VexConfigErrorSummary

The summary from loadVexConfigModule or summarizeVexConfigError.

ReactNode

The banner.