Password Input
A simple password input component with a visibility toggle button to show or hide the password.
Usage
import { PasswordInput } from "@/app/_components/ui/password-input";
<PasswordInput placeholder="Enter your password" showToggle={true} />
Props
Extends Shadcn/ui Input component.
Name | Type | Default | Description |
---|---|---|---|
showToggle | boolean | false | Whether to show the password visibility toggle button. |