Leave Yamada UI a star

Star
Yamada UIYamada UIv1.7.2

PasswordInput

PasswordInput is a component that allows users to input passwords with a visibility toggle.

Source@yamada-ui/password-input

If you are not using FormControl, set aria-label or aria-labelledby to PasswordInput.

<PasswordInput aria-label="Your password" />
Copied!
<VStack gap="sm">
<Text as="h3" id="label">
Your password
</Text>
<PasswordInput aria-labelledby="label" />
</VStack>
Copied!

ARIA Roles and Attributes

ComponentRole and AttributesUsage
PasswordInputField Internalaria-invalidSet to "true" if isInvalid is set.
aria-disabledSet to "true" if isDisabled is set.
aria-readonlySet to "true" if isReadOnly is set.
aria-requiredSet to "true" if isRequired is set.
PasswordInputStrengthMeterrole="meter"Indicates that this is a meter.
aria-labelSets "Password strength meter".
aria-valueminSets the 0 value.
aria-valuemaxSets the max value.
aria-valuenowSets the current value.

Edit this page on GitHub

PreviousNumberInputNextPinInput