File upload
A drag-and-drop file upload zone.
Multiple
Image preview
With progress
report-q2.pdf70%
API reference
Inputs
| Prop | Type | Default | Description |
|---|---|---|---|
multiple | boolean | false | Whether multiple files can be selected and accumulated. |
accept | string | '' | Comma-separated list of accepted file types (the `accept` attribute). |
name | string | '' | Native `name` attribute for the file input. |
hint | string | '' | Optional helper text shown under the dropzone label. |
disabled | boolean | false | Whether the upload zone is disabled. |
dropzoneLabel | string | — | Custom dropzone prompt text. |
removeLabel | string | — | Custom accessible label for each remove button. |
Outputs
| Event | Payload | Description |
|---|---|---|
filesChange | readonly File[] | Emitted with the current file list whenever the selection changes. |
Every ng-blatui component also accepts a class input to merge extra Tailwind classes onto the host.