error-boundary
npx shadcn@latest add @design/error-boundaryClass boundary: pass a fallback node and an onError callback. Place around route segments or risky widgets — it only catches render-phase errors in its subtree.
Component rendered successfully.