About
A floating-label password text field with a dark matte control and an eye icon button that toggles masking the typed value, ported from a standalone HTML/CSS/JS component by SLtowl.
Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Matte Password Input to your project and fits it to your theme.
Code
How Matte Password Input is used: the demo's code. The component's own source comes with a free account.
Usage.tsx
import MattePasswordInput from "@/components/ui/matte-password-input";
export default function MattePasswordInputDemo() {
return (
<div className="flex min-h-[420px] w-full items-center justify-center bg-[#f5f4f2] p-6">
<MattePasswordInput />
</div>
);
}








