Unify styling of file upload buttons with drop zone #65333
Open
Description
opened on Sep 13, 2024
Related to #62743
What problem does this address?
I noticed we have two "file upload" buttons that have different custom styling for no apparent reason. This is non-ideal for both code maintainability and UX.
Font upload
CleanShot.2024-09-14.at.02.06.43.mp4
Set featured image
CleanShot.2024-09-14.at.02.14.07.mp4
What is your proposed solution?
Possible solutions include:
-
Use the standard
"secondary"
Button variant. -
Introduce a new Button variant with guidance that it should be used for file upload buttons, and use that consistently.
-
Introduce a new UI pattern that denotes a "file upload button with drop zone". For reference, here is another one of these that appears in a block placeholder:
cc @WordPress/gutenberg-design
Metadata
Assignees
Labels
Type
Projects
Status
No status
Activity