Download button
The download button component allows you to download a file.
The data source of the Download button must be a data URL scheme with a Base64 encoded string:
The following section details Download button component's specific settings. For more details on the App editor, check the dedicated documentation or the App editor Quickstart:
App editor Documentation
The app editor is a low-code builder to create custom User Interfaces with a mix of drag-and-drop and code.
Apps quickstart
Learn how to build your first app in a matter of minutes.
Download files in apps
Learn how to have users download files in your apps.
Download button configuration
| Name | Type | Connectable | Templatable | Default | Description |
|---|---|---|---|---|---|
| source | string or File | true | false | The source of the file to download (data URL scheme with a Base64 encoded string). | |
| filename | string | true | false | The name of the file to download. | |
| label | string | true | false | Press me | The button label. |
| color | blue, red, dark, light, green, gray | false | false | blue | The button color. |
| size | xs, sm, md , lg, xl | false | false | sm | The button size. |
| Fill container | boolean | false | false | false | Whether the button should fill the container. |
| disabled | boolean | false | false | false | Whether the button should be disabled. |
| Before Icon | string | false | false | Undefined | The icon to display before the label. |
| After Icon | string | false | false | Undefined | The icon to display after the label. |