Measured entry

hextaui-alert-dialog

dialogminimal-flatmotion on file

A copy-in React alert dialog built as a typed wrapper around Radix Alert Dialog primitives. It ships through a shadcn registry and composes a shared button recipe, a cn class merger, Tailwind theme tokens, and state-driven animation utilities; no provider is required.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of hextaui-alert-dialog at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of hextaui-alert-dialog at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of hextaui-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 hextaui-alert-dialog
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal44.1 KB (109.6 KB build, 65.5 KB baseline)
Bare modeFAIL
Provider requiredNO
Demo usedwritten from the component source API

What the harness recorded

BARE BUILD

✗ Build failed in 1.07s
error during build:
[vite]: Rollup failed to resolve import "class-variance-authority" from "<sandbox>re-9971d895fde2/src/components/ui/button.tsx".

Verdict

A dependable confirmation dialog with a sensible responsive layout and clean Radix semantics. It built and mounted in both the full harness and a bare setup, with no observed accessibility or overflow problems. Best suited to teams already comfortable owning copied registry code.

Use it if

  • You need a focused confirmation step for destructive or irreversible actions.
  • Your app already uses Tailwind theme tokens and shadcn-style shared utilities.
  • You want Radix-managed focus, dismissal, and accessible dialog semantics with editable local source.

Skip it if

  • You need a general modal for forms or informational content rather than an explicit decision.
  • Your design system does not use utility classes or shadcn-style button variants.
  • You want a dependency-light native dialog and do not need Radix behavior.
  • You cannot accept the added client-side dialog primitives for a rarely used confirmation.

Install

Installation record for hextaui-alert-dialog
Declared dependencies@radix-ui/react-alert-dialog, @radix-ui/react-slot, clsx, tailwind-merge
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, install the Radix alert-dialog and slot packages plus clsx and tailwind-merge. Add the cn helper, the shared button variant module, matching theme tokens, and Tailwind animation utilities, then replace the registry path aliases or configure equivalent aliases.

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-16

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.