Measured entry

originui-comp-33

inputminimal-flat

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.

Specimen
Harness screenshot of originui-comp-33 at 375 pixels wide
Harness screenshot at 375 pixels wide. This viewport scrolled sideways.
Harness screenshot of originui-comp-33 at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of originui-comp-33 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 originui-comp-33
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowflagged at 375
Axe critical0
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal20.7 KB (86.2 KB build, 65.5 KB baseline)
Bare modeOK
Provider requiredNO
Demo usedwritten 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

Installation record for originui-comp-33
Declared dependenciesnone declared
Missing on installnone
Bare installbuilds and mounts without the shadcn-style helpers
Providerno 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.

License
MIT
Record published
2026-08-16

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.