L
LocalMode

Error Alert · LocalMode

A compact, dismissible error surface with an optional retry action - a role=alert region showing the message, a Retry button (only when onRetry is provided), and a dismiss control. Presentational: the consumer owns the operation state and decides what retry and dismiss do. The deduped shared alert for operation feedback near a result. Pairs with any hook that surfaces an error string.

npx shadcn@latest add https://localmode.ai/r/ui/results/error-alert.json
Preview Error Alert on LocalMode's site (opens in a new tab)
Loading the source for ui/results/error-alert…

ui/results/error-alert