# Error Recovery Card

A failure surface that preserves user confidence through clear recovery, diagnostics, and retry actions.

## Installation

```bash
npx shadcn@latest add https://amro-ui.vercel.app/r/error-recovery-card.json
```

[Registry JSON](https://amro-ui.vercel.app/r/error-recovery-card.json)

## Preview

```tsx
import { ErrorRecoveryCard } from "@amro-ui/react";

export function Preview() {
  return (
    <div className="grid min-h-72 w-full place-items-center rounded-xl border bg-background p-6 sm:p-10">
      <ErrorRecoveryCard />
    </div>
  );
}
```


## Source

### ui/error-recovery-card.tsx

```tsx
"use client";

import "@/components/amro/amro-ui.css";

export { ErrorRecoveryCard } from "@/components/amro/components/shared";
export type { ErrorRecoveryCardProps } from "@/components/amro/components/shared";
```



## Usage

A failure surface that preserves user confidence through clear recovery, diagnostics, and retry actions.

### Package

```tsx
import { ErrorRecoveryCard } from "@amro-ui/react";

<ErrorRecoveryCard />
```

### shadcn copy

```tsx
import { ErrorRecoveryCard } from "@/components/ui/error-recovery-card";

<ErrorRecoveryCard />
```

