Measured entry

hextaui-ai-file-upload

inputminimal-flat

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.

Specimen
Harness screenshot of hextaui-ai-file-upload at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of hextaui-ai-file-upload at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of hextaui-ai-file-upload 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-ai-file-upload
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical0
Axe serious0
Axe moderate0
Axe minor1
Gzip marginal40.2 KB (105.6 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 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

Installation record for hextaui-ai-file-upload
Declared dependencies@radix-ui/react-slot, @radix-ui/react-progress
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, 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.

License
MIT
Record published
2026-08-14

Alternatives

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.