Leave Yamada UI a star

Star
Yamada UIYamada UIv1.6.4

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={<Plus />} 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