Measured entry
hextaui-dialog
dialogminimal-flatmotion on file
A client-side React dialog composed from Radix Dialog primitives and shipped as a shadcn registry TSX file. It includes the portal, overlay, content, close control, header, footer, title, and description. Styling relies on Tailwind utility classes, project theme tokens, animation utilities, a cn helper, and Lucide for the close icon.



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.
| Build | OK |
|---|---|
| Mount | OK |
| Console errors | 0 |
| Uncaught page errors | 0 |
| Horizontal overflow | clean at 375, 768, 1440 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 43.7 KB (109.2 KB build, 65.5 KB baseline) |
| Bare mode | FAIL |
| Provider required | NO |
| Demo used | written from the component source API |
What the harness recorded
BARE BUILD
✗ Build failed in 747ms error during build: [vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-0b6cdbc93602/src/cut/components/ui/dialog.tsx".
Verdict
A sound, conventional Radix wrapper that builds and mounts cleanly, with sensible composition and accessible labeling primitives. Choose it when its Tailwind and theme conventions fit your app; otherwise the styling adaptation may outweigh the thin wrapper's value.
Use it if
- You want a composable modal with focus and dismissal behavior delegated to Radix.
- Your app already uses Tailwind utilities and can map the referenced theme tokens.
- You need separate primitives for triggers, content, headings, descriptions, and action rows.
Skip it if
- You want a dependency-free modal or do not want Radix in the client bundle.
- Your styling system cannot consume Tailwind classes or the component's theme-token conventions.
- You need a fully styled form dialog with validation and submission behavior included.
Install
| Declared dependencies | @radix-ui/react-dialog, clsx, tailwind-merge |
|---|---|
| Missing on install | none |
| Bare install | fails once the shadcn-style helpers are removed, so it needs that setup |
| Provider | no provider required in the harness |
In a non-shadcn project, add Radix Dialog and Lucide React, provide a cn class-merging helper backed by clsx and tailwind-merge, and configure Tailwind theme tokens plus the referenced state animation utilities. Preserve the client-component boundary where your framework requires it.
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.
Author repository
github.com/preetsuthar17/HextaUIAlternatives
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.
- shadcn-dialogunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 26.7KB
- Bare
- fail
- Prov
- NO
- 8bitcn-dialogueskeuomorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 34.2KB
- Bare
- fail
- Prov
- NO
- neobrutalism-dialogbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 40.5KB
- Bare
- fail
- Prov
- NO
- neobrutalism-ndialogbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 40.5KB
- Bare
- fail
- Prov
- NO
- neobrutalism-alert-dialogbrutalism
- Renders
- YES
- A11y
- 0
- Gzip
- 40.7KB
- Bare
- fail
- Prov
- NO
- shadcn-alert-dialogunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 41.5KB
- Bare
- fail
- Prov
- NO