Measured entry
originui-comp-33
A compact React email field that places its label inside the same bordered surface as the native input. It ships as a shadcn registry component, uses React useId for label association, and relies on Tailwind utilities plus shadcn color and ring tokens. The source has no third-party component dependency and renders disabled by default.



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 | flagged at 375 |
| Axe critical | 0 |
| Axe serious | 0 |
| Axe moderate | 0 |
| Axe minor | 0 |
| Gzip marginal | 20.7 KB (86.2 KB build, 65.5 KB baseline) |
| Bare mode | OK |
| Provider required | NO |
| Demo used | written from the component source API |
Verdict
A sound, dependency-light field primitive with correct native label association and clean focus and invalid-state hooks. Adopt it if the inset-label treatment fits your forms, but expect to expose props and remove the fixed disabled state. The supplied demo framing also needs responsive adjustment for narrow screens.
Use it if
- You want an inset-label field built from native label and input elements.
- Your form already uses shadcn theme tokens and Tailwind state variants.
- You need a disabled email-field example that can be adapted into a controlled input.
Skip it if
- You need an interactive field without editing the hard-coded disabled state.
- Your design system does not provide the shadcn color, ring, and shadow utilities used here.
- You need validation messaging, help text, icons, or form-library integration out of the box.
- You plan to reuse the supplied fixed-width demo wrapper unchanged on narrow screens.
Install
| Declared dependencies | none declared |
|---|---|
| Missing on install | none |
| Bare install | builds and mounts without the shadcn-style helpers |
| Provider | no provider required in the harness |
In a non-shadcn project, add React and Tailwind, define equivalents for the background, foreground, input, ring, destructive, and muted theme tokens, and support the focus-within, disabled, invalid, dark-mode, and relational state variants. Replace the registry import step with a local component file, then expose input props instead of keeping the disabled state fixed.
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
- 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
- ruixen-floating-toolbargradient-glow
- Renders
- YES
- A11y
- 0
- Gzip
- 61.3KB
- Bare
- pass
- Prov
- NO