diff --git a/src/components/ui/password-input.tsx b/src/components/ui/password-input.tsx new file mode 100644 index 0000000..bf62a41 --- /dev/null +++ b/src/components/ui/password-input.tsx @@ -0,0 +1,54 @@ +"use client"; + +import * as React from "react"; + +import { cn } from "@/lib/utils"; +import { Input } from "./input"; +import { Button } from "./button"; +import { EyeIcon, EyeOffIcon } from "lucide-react"; + +export const PasswordInput = React.forwardRef< + HTMLInputElement, + React.ComponentProps<"input"> +>(({ className, ...props }, ref) => { + const [showPassword, setShowPassword] = React.useState(false); + + return ( +
+ This value is stored in your browser's local storage and is only + used to authenticate requests sent to your LangGraph server. +
+