A React error boundary that isolates a render failure in its subtree: it catches the error, renders a compact recoverable role=alert notice with the message and a Reset button that clears the error and re-renders the children, so one failing surface cannot blank the whole page. A structural copy-owned utility with local prop shapes.
pnpm dlx shadcn@latest add "https://localmode.ai/r/ui/results/mode-error-boundary.json"