Error State
Offline screen that draws the connection as an arc from phone to app, with the broken half dashed. Retrying redraws the line solid with a green glow, while saved stories stay readable the whole time.
About the Error State screen
The screens every app needs and nobody wants to design twice: settings, profile, appearance, notifications, data export, empty and error states. This is one of 50 core screens.
How it behaves
It responds to taps and scrolling. On a phone you feel a light tap on buttons and a success pulse when the task completes.
- Shows a loading state while work is in progress, without the layout jumping.
- Respects Reduce Motion: movement drops out and the feedback stays.
Make it yours
npx @lumioui/cli add pro/core-error-state copies the screen into screens/core/error-state.tsx along with the 4 components it uses, so the source is yours to edit.
It's shown in neutral ink: wrap it in an <Accent> to give it your brand colour. It follows light and dark mode, and runs on iOS and Android, including Expo Go.
Built from
- ButtonPill button that presses down under your finger, in eight styles from solid to glass, with a built-in loading state that swaps in place while an action runs.
- IconIcon set drawn on one consistent grid, sized and coloured from your theme. The heart, star and bookmark can fill in place inside their outline, then fade back out.
- ImageImage with a placeholder while it loads, a fallback when it fails, and aspect-ratio handling so your layout doesn’t jump when the picture arrives.
- TextThemed type scale from caption to display that follows light and dark mode. Includes a pull-quote style with an accent rule and a quieter dimmed tone for secondary text.