Inline partial failure
One widget fails while the rest of the page stays intact.
Live preview
Source
This exact file renders the preview above.
components/blocks/sections/error/inline-failure.tsx
components/ui/alert.tsx
components/ui/skeleton.tsx
Demo source — adapt to your project. Foundry is not published as a package.
Usage
Replacing a whole screen for a single failed panel loses everything that did load, so the failure is contained, explained and retryable in place.
- Say what still worked; 'something went wrong' implies everything did.
- Show a skeleton while retrying, so the retry is visibly happening.
Variants and states
Every entry below is a genuine difference in behaviour or layout, and every one of them is visible in the preview above.
- Contained failure
- Retrying skeleton
- Recovered state
Accessibility
- Contained alert
- The failure Alert is scoped to the panel, not the page.
- Retry status
- The retrying state announces itself politely.
Foundry implements published ARIA patterns and is tested against them. No WCAG certification is claimed — see the accessibility documentation for what is and is not covered.
Related
All sections500 section
A server failure with a reference code and a real retry button.
starter3 variantsSkeleton
Placeholder geometry for resolving content, in line, block, circle and button shapes.
starter5 variantsDashboard metric row
Four KPI tiles, two of them with inverted trend semantics.
starterFeatured3 variants