Measured entry

originui-comp-51

inputminimal-flat

A client-side React password input with a visibility toggle, live strength meter, and requirement checklist. It ships as a shadcn registry component and relies on local Input and Label primitives, Tailwind utilities and theme tokens, React state hooks, Lucide icons, and the declared Radix UI dependency used by its primitives.

Specimen
Harness screenshot of originui-comp-51 at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of originui-comp-51 at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of originui-comp-51 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-51
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical1
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal30.0 KB (95.4 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 7.18s
error during build:
[vite:load-fallback] Could not load <sandbox>/src/lib/utils (imported by src/components/ui/input.tsx): ENOENT: no such file or directory, open '<sandbox>/src/lib/utils'

Verdict

A useful starting point for shadcn-based account forms, with clear feedback and a sensible interaction model. It needs a shadcn-style setup to build and mount, and the visibility button's broken control reference must be corrected before accessibility-sensitive use.

Use it if

  • You need a password creation or reset field that explains unmet rules while the user types.
  • Your app already uses shadcn-style local primitives, Tailwind theme tokens, and import aliases.
  • Your password policy matches the embedded checks or your team is willing to adapt them.

Skip it if

  • You need a drop-in package for a project without Tailwind, local UI primitives, or shadcn-style aliases.
  • You require an accessibility-approved component without modification, since the visibility button references a control identifier that the input does not use.
  • You need entropy-based strength estimation, breached-password checks, or a centrally managed password policy rather than a simple local rule score.

Install

Installation record for originui-comp-51
Declared dependenciesradix-ui
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 React, Radix UI, Tailwind utilities and the expected theme tokens. Supply compatible Input and Label primitives, configure the import alias, and add the class-merging utility expected at the local utils path. Also make the visibility button reference the generated input identifier.

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-13

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.