A native file input with a styled ::file-selector-button. The browser still shows the chosen file name.
::file-selector-button
Accepted: PNG, JPG or WebP. One file only. Nothing is uploaded in this demo.