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

    249
  • Group Chat

    Group Chat

    182
  • Presence Avatar

    Presence Avatar

More in Forms

View all
  • Contact Card

    Contact Card

    1K
  • Premium Auth

    Premium Auth

    525
  • Login 2

    Login 2

    8
  • Form

    Form

    16
  • Card Studio

    Card Studio

    41
  • HeroUI Field Error

    HeroUI Field Error

    10
  • Book A Demo 1

    Book A Demo 1

    74
  • Book A Demo 3

    Book A Demo 3

    90