Measured entry
originui-input-04
A compact email field with an associated label and an optional-status hint aligned above the control. It ships as a shadcn registry component, composing Origin UI Input and Label primitives. It relies on React useId, Tailwind utility and theme classes, the shared cn helper, path aliases, and Radix UI for the label primitive.



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 | 14.2 KB (78.8 KB build, 64.6 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 1.03s error during build: [vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/components/ui/label.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'
Verdict
A focused, accessible composition that builds and mounts cleanly in its intended environment. It is useful as a small form pattern, but it needs a shadcn-style setup and will not work as a bare drop-in because its shared utility import and supporting UI primitives must be present.
Use it if
- You need a clearly labeled email field that also marks the value as optional.
- Your project already uses shadcn conventions, Tailwind theme tokens, and the shared cn helper.
- You want the label association generated safely when several instances render on one page.
Skip it if
- You need validation messaging, descriptions, or error-state behavior included in the component.
- Your form system already owns field labels and optional indicators, making this wrapper redundant.
- You cannot adopt Tailwind theme classes, shadcn path aliases, or the Radix UI dependency.
Install
| Declared dependencies | radix-ui |
|---|---|
| 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 the Origin UI Input and Label implementations, install Radix UI, provide a compatible cn class-merging helper, configure the import alias, and supply Tailwind plus the referenced theme tokens. Otherwise, replace the aliases and utility classes with equivalents from your stack.
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/origin-space/originuiAlternatives
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