Measured entry
hextaui-ai-file-upload
A client-side React upload card distributed as source through a shadcn registry. It provides drag and drop, file validation, previews, progress and processing states, while leaving upload transport and file state to the parent. It imports Next Image, Lucide icons, a cn helper, and shadcn Button, Card and Progress primitives backed by Radix.



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 | 1 |
| Gzip marginal | 40.2 KB (105.6 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 1m 13s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/cut/blocks/ai/ai-file-upload.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A solid controlled upload shell for a shadcn-based Next app, with useful validation and status rendering but no upload engine. It builds and mounts in the prepared harness, yet the bare case fails on its local utility import, so it needs a shadcn-style setup and merits a small ARIA cleanup.
Use it if
- You need a controlled upload surface whose parent owns the actual transfer and status updates.
- Your product accepts several files and needs type, size and count validation before upload.
- You want image previews, removal controls and processing states in a shadcn-based Next app.
Skip it if
- You need a complete uploader with storage, retries, cancellation or network transport included.
- Your app is not using Next and you do not want to replace the Next Image dependency.
- Your accessibility policy cannot accept the flagged role mismatch without a small source fix.
- You want a package that works without shadcn aliases, theme tokens and local UI primitives.
Install
| Declared dependencies | @radix-ui/react-slot, @radix-ui/react-progress |
|---|---|
| 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 React, Lucide, Radix Slot and Radix Progress; provide Button, Card and Progress equivalents; add a class-merging helper and matching theme utilities; configure the local import alias; and replace Next Image if the app does not use Next. Preserve the client-component boundary.
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 input pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.
- clay-inputclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 17.9KB
- Bare
- pass
- Prov
- NO
- neu-search-inputneumorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 18.1KB
- Bare
- pass
- Prov
- NO
- clay-search-inputclaymorphism
- Renders
- YES
- A11y
- 0
- Gzip
- 18.3KB
- Bare
- pass
- Prov
- NO
- originui-comp-33minimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 20.7KB
- Bare
- pass
- Prov
- NO
- hextaui-labelminimal-flat
- Renders
- YES
- A11y
- 0
- Gzip
- 31.3KB
- Bare
- pass
- Prov
- NO
- ruixen-circular-stepper-inputliquid-glass
- Renders
- YES
- A11y
- 0
- Gzip
- 61.1KB
- Bare
- pass
- Prov
- NO