Leave Yamada UI a star

Star
Yamada UIYamada UIv1.6.4

Input

Input is a component used to obtain text input from the user.

Source@yamada-ui/input

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

<Input type="email" aria-label="Email address" />
Copied!
<VStack gap="sm">
<Text as="h3" id="label">
Email address
</Text>
<Input type="email" aria-labelledby="label" />
</VStack>
Copied!

ARIA Roles and Attributes

ComponentRole and AttributesUsage
Inputaria-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.

Edit this page on GitHub

PreviousIconButtonNextNumberInput