Android components Forms
StancePasswordField
BetaA password input with a button to show or hide the value.
- PlatformAndroid, Jetpack Compose
- Builds on
OutlinedTextField - Kindcomposable
Preview
Rendered by the Jetpack Compose library, not drawn by hand.






Usage
var password by remember { mutableStateOf("") }
StancePasswordField(password, { password = it }, label = "Password")Accessibility
- The toggle is named Show password or Hide password.