PasswordInput
パスワード専用の入力コンポーネント。表示・非表示の切り替えが可能。
使用法
astro
<PasswordInput placeholder="Enter your password" class="max-w-xs" /> API リファレンス
| プロパティ | 説明 | タイプ | デフォルト |
|---|---|---|---|
| label | The label for the input field. | string | - |
| error | Error message to display below the input. | string | - |
| placeholder | The input placeholder text. | string | - |