platform-guideline checked
Microsoft Learn: Guidelines for password boxes
Documents password box masking, reveal button behavior, spacing to avoid accidental reveal, peek mode, focus-dependent reveal availability, custom reveal toggles, placeholder context, and password-specific input scope.
Pattern Decisions This Source Supports
| Pattern | Supported decision | Required contract | Claim note |
|---|---|---|---|
| Sensitive-data reveal | Choose sensitive-data reveal when a normally masked or redacted value needs a deliberate temporary reveal, hide, peek, copy, partial reveal, reauthentication, or audited access path. | The value is masked by default unless the user is actively entering it and the platform-specific control intentionally permits display. | Supports password masking, peek reveal, spacing to avoid accidental reveal, focus-dependent reveal behavior, and custom show-password controls. |
Evidence Role
This source is treated as platform-guideline evidence. Use it to validate the decision rules above, not as a visual style reference.
Publisher: Microsoft Learn. Last checked: .