Rebar UI

1.0

synthetic

Error Block

A whole-page failure or empty state with an optional retry button.

OfflineStatus picks the icon and wording; action adds a retry
You are offline
Tasks keep working. We will sync when the signal is back.
Default
Something went wrong
An error occurred. Please try again.
Empty
No projects yet
Create one to get the crew started.
Busy
Servers are busy
Please try again in a moment.
Info (neutral)
For your information
Your library syncs overnight.

In context

Inbox on a phoneThe crew inbox with no signal
Inbox
You are offline
Showing what was saved on 24 Oct.
Projects
No projects yet
Projects you join show up here.

Props

PropTypeRequiredDefault
statusErrorBlockStatus | undefinedNodefault
titleReactNodeNo—
descriptionReactNodeNo—
iconReactNodeNo—
fullPageboolean | undefinedNofalse
childrenReactNodeNo—
classNamestring | undefinedNo—
bionicboolean | undefinedNo—
bionicOptionsBionicOptions | undefinedNo—

Shape

{ type: "error-block", status?: "default"|"disconnected"|"empty"|"busy"|"info", title?: string, description?: string, action?: Action, fullPage?: boolean }

fullPage is on by default; set it false for an inline, one-card failure state. empty and info are neutral: a quiet icon and a tinted panel, no error styling.