ComponentsAttachment

Attachment

Stage local files as removable attachment chips.

Example

Prompt attachments

    Setup

    Download the shared Inlay assets once. Then choose HTML, React, or Vue and copy the example above.

    Usage

    UsageChoose several files, then remove any item from the list. The example shows real names and sizes using the browser File API.
    IntegrationListen for ilui:ai-files-change to read the staged files from detail.files.