Measured entry
hextaui-alert
A compact React status or message banner shipped as a shadcn registry TypeScript file. It uses Tailwind utility classes, class-variance-authority for default and destructive variants, and the project cn helper. It needs no provider and supports polite, assertive, or disabled live-region behavior.



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 | 26.8 KB (92.2 KB build, 65.4 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 27.68s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/components/ui/alert.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A solid choice inside an existing shadcn-style codebase: it builds and mounts cleanly, adapts across tested widths, and includes sensible live-region defaults. It needs a shadcn-style setup because the bare install cannot resolve the expected cn utility.
Use it if
- You need inline status, warning, or error messaging that assistive technology can announce.
- Your app already uses shadcn conventions, Tailwind theme tokens, and a shared cn utility.
- You want a small composable API with separate title and description slots.
Skip it if
- You need dismiss controls, actions, stacking, or toast lifecycle behavior out of the box.
- Your project does not use Tailwind and you do not want to translate utility classes into your styling system.
- You need several semantic severity variants beyond the included default and destructive treatments.
Install
| Declared dependencies | none declared |
|---|---|
| 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 |
For a non-shadcn project, install class-variance-authority, add or replace the cn merge helper import, configure the source alias, and provide Tailwind plus the card, destructive, and muted foreground theme tokens used by the component.
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 chat pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- kibo-bannerminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 33.0KB
- Bare
- fail
- Prov
- NO
- ruixen-comment-threadunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 40.2KB
- Bare
- fail
- Prov
- NO
- ruixen-smart-paste-inputunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 44.4KB
- Bare
- fail
- Prov
- NO
- ruixen-faq-chat-accordionunclassified
- Renders
- YES
- A11y
- 0
- Gzip
- 67.7KB
- Bare
- fail
- Prov
- NO
- ruixen-gradient-chat-inputgradient-glow
- Renders
- YES
- A11y
- 0
- Gzip
- 72.6KB
- Bare
- fail
- Prov
- NO
- tripled-ai-chat-interface-shadcnuiminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 74.3KB
- Bare
- fail
- Prov
- NO