An input for selecting a file. If a file is selected it shows its name, content-type and size.
The value for the accept attribute of a file input can be set using theaccept
property.
<> <Ui.FileInput selectLabel="Select an image!" accept="image/*"/> <Ui.FileInput selectLabel="Select a video!" accept="video/*"/> <Ui.FileInput selectLabel="Select a music file!" accept="audio/*"/></>
Mint UI is a design system and component library for building websites, web and desktop applications.