---
title: "Password Field Input | Free React & Tailwind Craft Component | Motion UI"
canonical: "https://blacknest.dev/motion/c/craft/password-field-input"
github_source: "https://github.com/Rkj0123/motion-ui-skill/blob/main/components/inputs/password-field-input.tsx"
install_command: "npx motion-ui-skill add password-field-input"
dependencies: ["clsx","lucide-react","react","tailwind-merge"]
category: "craft"
subcategory: "inputs"
---

# Password Field Input

> Password input with show/hide toggle, hint text, and error state. Keeps autocomplete defaults and accessible visibility control.

## Install

```bash
npx motion-ui-skill add password-field-input
```

## Dependencies

- `clsx`
- `lucide-react`
- `react`
- `tailwind-merge`

## Usage

```tsx
"use client";

import { PasswordFieldInput } from "@/components/inputs/password-field-input";

export function PasswordFieldInputDemo() {
  return (
    <div className="flex items-center justify-center p-6">
      <PasswordFieldInput />
    </div>
  );
}
```

## API Reference

### PasswordFieldInput

| Prop | Type | Default | Required | Description |
| :--- | :--- | :--- | :--- | :--- |
| `className` | `string` | — | No | Additional CSS classes |

## Source Files

- [components/inputs/password-field-input.tsx](https://github.com/Rkj0123/motion-ui-skill/blob/main/components/inputs/password-field-input.tsx)
- [lib/cn.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/cn.ts)
- [lib/utils.ts](https://github.com/Rkj0123/motion-ui-skill/blob/main/lib/utils.ts)
