About
An email form field that displays the input's live HTML validation state as a JSON inspector, showing validity flags and error messages in real time.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Field Validity Inspector to your project and fits it to your theme.
Code
How Field Validity Inspector is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import FieldWithValidityDemo from "@/components/ui/field-validity-inspector";
export default function Default() {
return (
<div className="flex min-h-64 w-full items-center justify-center p-6">
<div className="w-full max-w-sm">
<FieldWithValidityDemo />
</div>
</div>
);
}
















