/ui
  • Components
  • Packages
  • About
  • Github
Menu
Components
Packages
Built by vorhdam at Nordaun. The source code is available on Github

Password

A super simple password input component with a toggle options that hides or reveals your password.

Preview

Installation

bunx --bun shadcn@latest add @nordaun/password

Usage

/components/password-demo.tsx
1import { Password } from "@/components/ui/password";
2
3export default function PasswordDemo() {
4 return (
5 <div className="py-4 max-w-xs w-full mx-auto">
6 <Password placeholder="Enter your password" />
7 </div>
8 );
9}

Dependencies

lucide-react button input-group