Leave Yamada UI a star

Star
Yamada UIYamada UIv1.7.2

FileButton

FileButton is a button component used for users to select files.

When using only icons in FileButton, set aria-label for the FileButton.

<FileButton as={IconButton} icon={<PlusIcon />} aria-label="File upload" />
Copied!

ARIA Roles and Attributes

ComponentRoles and AttributesUsage
FileButtonrole="button"Indicates that it is a button.

Edit this page on GitHub

PreviousFileInputNextDropzone