Ai Error Retry Card
A production-scale, light + dark Ai Error Retry Card component. Copy-paste via the CLI; you own the code.
npx lerpa-cli add ai-error-retry-cardUsage
import { AIErrorRetryCard } from "@lerpa/ui";
<AIErrorRetryCard />Props
| Prop | Type | Default | Description |
|---|---|---|---|
| errorCode | string | — | |
| errorMessage | string | — | |
| suggestion | string | — | |
| accent | string | — | |
| onRetry | () => void | — | |
| onReportBug | () => void | — |
Accessibility
- Keyboard accessible interactive elements.
- Respects prefers-reduced-motion where animated.
- Color is never the only signal.