PasswordInput
A password field with one named visibility action.
Preview
Use PasswordInput
PasswordInput is a named export of @flood-md/react. Connect the package once, then import what you use.
Design notes
- Use visible/onVisibleChange for controlled visibility or defaultVisible for an initial reveal. Translate showPasswordLabel/hidePasswordLabel. Read-only still permits inspection; disabled blocks actions. Native value/onChange, autocomplete, form and ref are preserved. Visibility does not change the value.
- Composes Flood InputGroup, IconSlot and IconButton using existing semantic geometry and feedback states. Available in 0.2.5.
API reference
View TypeScript source