Measured entry

neobrutalism-alert-dialog

dialogbrutalism

A client-side React alert dialog shipped as a shadcn registry component. It wraps Radix Alert Dialog primitives, composes actions from the registry's button component, and relies on a local cn helper plus Tailwind utilities, theme tokens, and state-based animation classes for its neobrutalist presentation.

Specimen
Harness screenshot of neobrutalism-alert-dialog at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of neobrutalism-alert-dialog at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of neobrutalism-alert-dialog at 1440 pixels wide
Harness screenshot at 1440 pixels wide. No horizontal overflow recorded.

Measured

Every value below was written by the harness on the run that produced the frames above. None of it is derived from the prose.

Harness measurements recorded for neobrutalism-alert-dialog
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal40.7 KB (106.1 KB build, 65.4 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 33.29s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/components/ui/alert-dialog.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A solid choice for confirmations in an existing neobrutalist shadcn codebase, with clean Radix semantics and no observed runtime or accessibility issues. It needs a shadcn-style setup and will not work as a bare drop-in because its local utility and button imports must exist.

Use it if

  • You need a confirmation dialog for destructive or consequential actions.
  • Your app already uses shadcn conventions and Radix primitives.
  • You want a neobrutalist modal that can be customized as source code.

Skip it if

  • You need a general-purpose modal for forms or noncritical content.
  • Your project does not use Tailwind or shadcn-style aliases and utilities.
  • You want a dependency-free dialog or already standardize on another overlay system.

Install

Installation record for neobrutalism-alert-dialog
Declared dependencies@radix-ui/react-alert-dialog, @radix-ui/react-slot
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno provider required in the harness

In a non-shadcn project, add the Radix Alert Dialog and Slot packages, configure the React client boundary and path aliases, provide a cn class-merging helper and compatible button component, and define the Tailwind theme tokens and animation utilities referenced by the classes.

Source and credit

This page is a review, not a copy. The component source lives with its author and this site does not republish it. Read the license before you use anything.

License
MIT
Record published
2026-08-14

Alternatives

Other published entries for the dialog pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.