oks-ui

Forms

FormFieldSet type="file" -- inline or dropzone file upload with previews.

Preview

Type options

Content

Set to make the field show its invalid state.

Appearance

filled = borderless neutral fill at rest (text types); others fall back to bordered.

Layout & positioning

Behavior & states

Props

onChange

(files: File[]) => void

Default:

Called with the resolved list of selected files.

onClear

() => void

Default:

Called when cleared.