FileInput

    FileInput

    Full screen (fullScreen)

    Covers the viewport (fixed), implicitly noDropBorder. Overlay only when dragging files from the OS (not text from anywhere). On a page with multiple zones, enable it conditionally (e.g. a checkbox), otherwise it will override the whole page.

    Drop zone + hidden input

    On drag over the border and background change; the text from dropLabel appears over the zone.

    No file selected

    Multiple files (hidden input)

    Multiple files via multiple on the hidden input.

    No file selected

    Multiple files (visible input)

    The same interface with a visible file input in the zone content.

    Without overlay (noDropOverlay)

    noDropOverlay highlights only the border during a drag — without the semi-transparent area with text.

    Drag a file here or click below.

    No file selected

    Without border (noDropBorder)

    noDropBorder removes the border and padding — just the content in a clean area; the overlay is turned off automatically.

    Drag a file here, or click below.

    No file selected

    Sizes (variant)

    Prop variant: xl, lg, md (default), sm, xs. FileInput.Input reads context from FileInput.DropArea, so wrap it in a DropArea (noDropBorder keeps it frameless).

    Metadata

    Source: meta.generated.json (see npm run generate)

    File base/file-input/meta.generated.json not found or path not allowed.