500 section
A server failure with a reference code and a real retry button.
Live preview
Source
This exact file renders the preview above.
components/blocks/sections/error/server-error.tsx
components/ui/alert.tsx
Demo source — adapt to your project. Foundry is not published as a package.
Usage
The reference code is the only thing that makes a support conversation productive, and retry is a real button rather than an instruction to refresh.
- Include a reference code even in a demo — its absence is the most common real-world omission.
- Say explicitly that it is not the user's fault.
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.
- Status code
- Retry action
- Reference code
Accessibility
- Real retry
- The retry action is a button, not text telling the user to press F5.
- Monospace reference
- The code is set in a monospace face so digits are unambiguous.
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 sections404 section
A missing page that still offers the real top-level destinations.
starterFeatured3 variantsInline partial failure
One widget fails while the rest of the page stays intact.
intermediate3 variantsSupport request
Severity, area, reproduction steps and attachments — with the response time shown before submitting.
intermediateFeatured4 variants