Components › Records & data › Attachment › File drop

File drop

canon

The one surface for choosing a file: drop zone with a glyph, label, accepted formats, upload progress and an inline error.

Owner approved v2 on 3 Oct 2026 (acrm !4548): replaced Import .drop, the identity image .idimg-pick and the Documents step-1 zone. Import on dev = approved design, 0 px difference (1440 and 390). Canon since 4 Oct 2026: also used by step 1 of the Documents form-less dialog (acrm !4574), checked on dev at 1440 and 390.

Used in 3 files · 3 areas · 3× — components/IdentityImageDialog, components/evidence, pages/ImportPage

Default

Přetáhni libovolný CSV sem nebo vyber soubor.csv / .txt · max 10 MB

components--file-drop--defaultOpen standalone ↗Code

States

rest
Přetáhni soubor sem nebo klikni pro výběrPDF, JPG nebo PNG

drag-over (mouse only — touch has no drag)
Přetáhni soubor sem nebo klikni pro výběrPDF, JPG nebo PNG

uploading — canonical Progress in place of the words, surface inert
AI čte dokument…

error — host text inline under the surface, aria-live
Přetáhni soubor sem nebo klikni pro výběrPDF, JPG nebo PNG

Nahrání se nepodařilo. Zkus to znovu.

disabled — the host reports its state elsewhere (dialog header)
Přetáhni sem obrázek nebo klikni pro výběrPNG, JPG · max 2 MB

components--file-drop--statesOpen standalone ↗Code

Composition

ACPřetáhni sem obrázek nebo klikni pro výběrPNG, JPG · max 2 MB

no file yet
components--file-drop--compositionOpen standalone ↗Code