Measured entry

tripled-password-input-shadcnui

auth-formminimal-flatmotion on file

A client-side React password field shipped as a shadcn registry component. It owns its value, toggles visibility, and animates a length-based strength meter with Framer Motion. Its source uses Lucide icons, Tailwind utility classes, and theme CSS variables; the registry also pulls in the shadcn button dependency.

Specimen
Motion capture of the mounted demo, recorded by the harness. No audio track.
Harness screenshot of tripled-password-input-shadcnui at 375 pixels wide
Harness screenshot at 375 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-password-input-shadcnui at 768 pixels wide
Harness screenshot at 768 pixels wide. No horizontal overflow recorded.
Harness screenshot of tripled-password-input-shadcnui 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 tripled-password-input-shadcnui
BuildOK
MountOK
Console errors0
Uncaught page errors0
Horizontal overflowclean at 375, 768, 1440
Axe critical1
Axe serious0
Axe moderate0
Axe minor0
Gzip marginal60.9 KB (126.3 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 1.29s
error during build:
[vite]: Rollup failed to resolve import "lucide-react" from "<sandbox>re-3b1773461a08/src/cut/components/uitripled/password-input-shadcnui.tsx".

Verdict

It builds, mounts, and stays within the tested viewports, but it is starter code rather than a finished form control. Fix the unnamed visibility button, connect the label, correct the toggle icon alignment, and expose controlled-input props before production use.

Use it if

  • You want a compact password demo with visibility toggling and animated strength feedback.
  • Your React interface already uses Tailwind theme tokens and Framer Motion.
  • You are prepared to adapt its internal state to your form library and validation rules.

Skip it if

  • You need a production-ready accessible control without first naming the icon-only toggle and linking the label to the input.
  • You need a meaningful password-strength policy rather than a length-only indicator.
  • You want a lightweight field without an animation dependency.
  • You need a drop-in controlled input with props for value, errors, or form registration.

Install

Installation record for tripled-password-input-shadcnui
Declared dependenciesframer-motion, react, radix-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, Framer Motion, Lucide React, Tailwind utilities, and the referenced theme variables for card background, foreground, and accent. Copy the component into a client-rendered module; the registry's button primitive is not imported by this source.

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.

Alternatives

Other published entries for the auth-form pattern, ordered by what they measured: mounts first, then clean axe scans, then bare-mode passes, then the smaller bundle.