File download

This component allows users to download a file from Mirakl.

Overview

This component allows users to download a file from the platform, not upload one.

To upload any document into the platform, refer to Upload Button a dedicated component to be used in a form.

This component has two mandatory fields:

  • File name (specifying the file type). If the file name is too long to fit into the given space, we automatically include an ellipsis but always display the file format.

  • File icon

This component has a optional fields:

  • File size Specifying the file size is better because it provides users a useful information, aiding transparency from our side, download speed estimation, and data storage needed.

Each component can contain only one file. If multiple files are available for download, you must overstack the component

Key takeaways

  • Include file size if possible

  • Use one component per file

  • Change the wording of the action (no "Download here")

Last updated