sltowl

Password Input

Forms

About

A text input field with a toggle button that shows or hides the entered password.

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

Code

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

Usage.tsx

import PasswordInput from "@/components/ui/password-input";

export default function PasswordInputDemo() {
  return (
    <div className="w-full max-w-sm">
      <PasswordInput placeholder="Enter your password" />
    </div>
  );
}

Dependencies

More by sltowl

View all
  • Playback Scrubber

    Playback Scrubber

    48
  • Matte Alert Feedback

    Matte Alert Feedback

    43
  • Notification Stack

    Notification Stack

    32
  • Time Window Slider

    Time Window Slider

    21
  • Commands Menu

    Commands Menu

    15
  • Matte Meter Slider

    Matte Meter Slider

    15
  • Matte Opacity Slider

    Matte Opacity Slider

    13
  • Undo Feedback

    Undo Feedback

    8

More in Forms

View all
  • Premium Auth

    Premium Auth

    524
  • Contact Card

    Contact Card

    1K
  • Book A Demo 1

    Book A Demo 1

    73
  • Login 1

    Login 1

    53
  • Form

    Form

    137
  • Card Studio

    Card Studio

    41
  • Modern & Stunning sign in

    Modern & Stunning sign in

    1.6K
  • SignInPage

    SignInPage

    667