alain00

Password Field

Forms 3

About

A password input with a reveal toggle whose companion avatar face watches the caret while typing and looks away once the password is shown in plain text.

Built with React and Tailwind. Copy the prompt and paste it into Claude Code, Cursor or Lovable: your agent adds Password Field to your project and fits it to your theme.

Code

How Password Field is used: the demo's code. The component's own source comes with a free account.

Usage.tsx

"use client";

import { PasswordField } from "@/components/ui/password-field";
import "blobatar/motion.css";
import "blobatar/gaze.css";

export default function PasswordFieldDemo() {
  return (
    <div className="flex min-h-screen w-full items-center justify-center p-8">
      <PasswordField name="alain00" />
    </div>
  );
}

Dependencies

More by alain00

View all
  • User Table

    User Table

    266
  • Group Chat

    Group Chat

    192
  • Presence Avatar

    Presence Avatar

More in Forms

View all
  • Premium Auth

    Premium Auth

    593
  • Contact Form

    Contact Form

    28
  • Form

    Form

    4
  • Login 1

    Login 1

    70
  • Book A Demo 1

    Book A Demo 1

    94
  • Contact Card

    Contact Card

    1.1K
  • HeroUI Field Error

    HeroUI Field Error

    13
  • Form [react-aria-components]

    Form [react-aria-components]

    19