- Components24
- Autocomplete
- Location Input
- Signature Input
- Signature Pad
- Credit Card
- Masked Input
- Color Picker
- Tag / Token Input
- Emoji Picker
- Transfer List
- Tree Select
- Image Upload / Dropzone
- Cron Expression Builder
- Inline Editable Field
- Sortable List Input
- Schedule / Availability Picker
- Phone Input
- Datetime Picker
- Smart Datetime Input
- File Upload
- Tags Input
- Multi Select
- Password Input
- Rating
Password Input
Password field with a show/hide toggle.
Password Input
Password field with a show/hide toggle.
Preview
Features
- Show/hide toggle, disabled while the field is empty.
- Hides the browser’s built-in reveal button.
- Accepts every native input prop.
Installation
npx shadcn@latest add https://www.shadcn-form.com/r/password-input.json
The CLI installs every dependency listed in the registry item.
Usage
import { PasswordInput } from '@/components/ui/password-input'const [password, setPassword] = React.useState('')<PasswordInput value={password} onChange={(e) => setPassword(e.target.value)} />