PasswordInput
A password field with a toggle that reveals or hides the value.
beta
API
import PasswordInput from '@tcpsystems/ui/foundation/PasswordInput';| Prop | Type | Default |
|---|---|---|
kind? | 'mono' | none |
describedby? | string | none |
invalid? | 'true' | none |
showLabel? | string | 'Show password' |
hideLabel? | string | 'Hide password' |
value? | native | $bindable() |
| Hook | Kind |
|---|---|
.tcp-password | Root class |
data-hide-label | Data attribute |
data-kind | Data attribute |
data-show-label | Data attribute |
data-variant | Data attribute |