Design-Next

Navigation

Search pages and components

error-boundary

npx shadcn@latest add @design/error-boundary

Class 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.