Attach one file

A native file input with a styled ::file-selector-button. The browser still shows the chosen file name.

Accepted: PNG, JPG or WebP. One file only. Nothing is uploaded in this demo.