FileInput
Styled file picker that wraps the native input.
Default
PNG, JPG, PDF up to 10 MB
tsx
<FileInput label="Attachment" name="file" hint="PNG, JPG, PDF up to 10 MB" />Accept & multiple
tsx
<FileInput label="Images" name="images" accept="image/*" multiple />Error state
File is required
tsx
<FileInput label="Document" name="doc" error="File is required" required />Disabled
Upload is disabled
tsx
<FileInput label="Upload" name="upload" disabled hint="Upload is disabled" />