UIInternal UI

Primitives

ErrorState

@randall-enterprises/ui/components/primitives/error-state

Friendly one-liner plus retry plus technical disclosure. Never leaks JSON/SQL/schema. Promoted from the console.

Props (7)

error *unknown
surface *stringResource name used in the default sentence: "{surface} is temporarily unavailable".
messagestringOverride the mapped one-line message. Must still be free of JSON/SQL/schema.
onRetry() => void
retryLabelstring
compactbooleanTighter layout for cards/widgets.
childrenReactNode