# 500 Server Error With Retry

> 500 server error page with an alert icon, Try Again and Contact Support actions, and a monospace reference code to quote to support.

A shadcn/ui block from the [@7ovr](https://7ovr.com) registry, listed on [shadcn.exchange](https://shadcn.exchange/r/7ovr/error-3).

- Page, with a live preview: https://shadcn.exchange/r/7ovr/error-3
- Screenshot: https://abzjhwgwpdpz7ua5.public.blob.vercel-storage.com/shots/7ovr/error-3-light-d4a6f95148b945da.png
- Registry item: https://7ovr.com/r/error-3.json
- Categories: error
- Listed: 2026-10-13, source last changed 2026-10-13

## Install

```bash
npx shadcn@latest add https://7ovr.com/r/error-3.json
```

Run it in a project that has shadcn/ui set up. It adds the files below and installs what they depend on.

## Dependencies

- npm packages: `@base-ui/react`
- Registry items: `button`

## Notes from the registry

Requires a `base-*` style in components.json (the `shadcn init` default). Legacy `new-york`/`radix-*` styles install Radix primitives, which reject the `render` prop this block uses.

## Files

### `registry/blocks/error/3/error-block.tsx`

```tsx
import { Button } from "@/components/ui/button"
import { IconPlaceholder } from "@/components/icons/icon-placeholder"

export default function ErrorBlock() {
  return (
    <section className="flex min-h-svh w-full flex-col items-center justify-center gap-6 bg-background px-6 py-12 text-center text-foreground">
      <div className="flex size-16 items-center justify-center rounded-lg border border-border bg-muted/30">
        <IconPlaceholder
          lucide="CircleAlert"
          tabler="IconAlertCircle"
          hugeicons="AlertCircleIcon"
          phosphor="WarningCircle"
          remixicon="RiErrorWarningLine"
          className="size-8 text-muted-foreground"
          aria-hidden="true"
        />
      </div>

      <div className="flex flex-col items-center gap-2">
        <h1 className="font-heading text-2xl font-bold tracking-tight sm:text-3xl">
          Something went wrong
        </h1>
        <p className="max-w-md text-sm text-muted-foreground">
          An unexpected error occurred while processing your request. Please try
          again, and contact support if the problem persists.
        </p>
      </div>

      <div className="flex flex-col items-center gap-2 sm:flex-row">
        <Button className="w-full sm:w-auto">
          <IconPlaceholder
            lucide="RefreshCw"
            tabler="IconRefresh"
            hugeicons="RefreshIcon"
            phosphor="ArrowsClockwise"
            remixicon="RiRefreshLine"
            data-icon="inline-start"
            aria-hidden="true"
          />
          Try Again
        </Button>
        <Button
          variant="outline"
          render={<a href="#" />}
          nativeButton={false}
          className="w-full sm:w-auto"
        >
          Contact Support
        </Button>
      </div>

      <p className="font-mono text-xs text-muted-foreground">
        Reference: 7OVR-4F2A9
      </p>
    </section>
  )
}
```
