Errors
Error presentation, imported from @/components/ui/errors. Use ErrorFallback for error.tsx boundaries and full-area failure states. Use FormErrorBanner for a blocking form failure that must stay visible until the user acts, where a self-clearing toast would be wrong. See also UI Primitives.
ErrorFallback
Section titled “ErrorFallback”A centred error screen with a title, a description, an optional error digest, “Try again” and a home link. Pass error and reset from an error.tsx boundary, or just a title and description for a static failure state.
Source: src/components/ui/errors/ErrorFallback.tsx
FormErrorBanner
Section titled “FormErrorBanner”An inline alert banner (role="alert") with an optional dismiss button. It renders nothing when message is null. It doesn’t self-clear: the caller owns message and clears it.