The file element is a simple interactive label that wraps an
<input type="file">. It comprises several sub-elements:
-
filethe main container-
file-labelthe actual interactive and clickable part of the elementfile-inputthe native file input, hidden for styling purposes-
file-ctathe upload call-to-actionfile-iconan optional upload iconfile-labelthe "Choose a file…" text
file-namea container for the chosen file name
-