sh4dcnv2 · atlas
← libraries

@cognicatch

Production-grade React error-boundary infrastructure built for generative-UI applications. Provides AIBoundary for catching LLM hallucinations and malformed JSON payloads, BannerFallback, ModalFallback, and ToastFallback recovery UIs. Features zero-PII client-side scrubbing (emails, JWTs, API keys, credit cards redacted before telemetry), OpenTelemetry/OTLP vendor-agnostic error forwarding, and WCAG-compliant focus traps. Free for manual mode; API key required for managed telemetry. Use for: wrapping AI-generated UI trees so runtime crashes degrade gracefully instead of showing a blank screen.

4 components react shadcn-cli MIT

Install this registry

shadcn (npm) npx shadcn@latest add https://cognicatch.dev/registry/registry.json
pnpm pnpm dlx shadcn@latest add https://cognicatch.dev/registry/registry.json
bun bunx shadcn@latest add https://cognicatch.dev/registry/registry.json
fetch registry curl -s https://cognicatch.dev/registry/registry.json

Components

4 total
Adaptive Banner component

A graceful fallback UI banner for error handling and alerts.

npx shadcn@latest add https://cognicatch.dev/registry/adaptive-banner.json
Adaptive Fatal Error component

A full-screen, accessible modal for unrecoverable crashes.

npx shadcn@latest add https://cognicatch.dev/registry/adaptive-fatal-error.json
Adaptive Toast component

A pre-styled, recovery-ready wrapper around Sonner for error notifications.

npx shadcn@latest add https://cognicatch.dev/registry/adaptive-toast.json
Adaptive Error Boundary component

A ready-to-use Error Boundary that degrades UI gracefully using toasts, banners, or modals.

npx shadcn@latest add https://cognicatch.dev/registry/adaptive-error-boundary.json