Measured entry

hextaui-alert

chatminimal-flat

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.

Specimen
Harness screenshot of hextaui-alert at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of hextaui-alert at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of hextaui-alert 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
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal26.8 KB (92.2 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 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

Installation record for hextaui-alert
Declared dependenciesnone declared
Missing on installnone
Bare installfails once the shadcn-style helpers are removed, so it needs that setup
Providerno 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.

License
MIT
Record published
2026-08-14

Alternatives

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.