On this page:

File Input

Default

Preview

index.tsx
Choose file

Preview

index.tsx
Choose file

Alternative

Preview

index.tsx
Choose file

Preview

index.tsx
Choose file

Design Tokens for FileInput

Note: FileInput uses the same design tokens as the Input component. See BaseInput Design Tokens for available tokens.


FileInput API Reference

<FileInput />

PropTypeDefaultDescription
multiplebooleanfalseAllow multiple file selection
acceptstringAccepted file types (e.g. 'image/*')
onChangefunction (event)Callback when file(s) selected
...InputPropsSee InputInherits all props from Input

Note: FileInput inherits all props from Input and the native input element. See Input documentation for full details on available props and tokens.