Skip to main content

Image

The Image component allows you to upload and display an image. There are two options for the image upload: upload as base64 embedded image recommended for small images and upload to s3, which is recommended for larger images or if you have multiple images.

Image component

The following section details Image component's specific settings. For more details on the App editor, check the dedicated documentation or the App editor Quickstart:

Image configuration

NameTypeConnectableTemplatableDefaultDescription
Sourcestringtruefalse/logo.svgThe image.
Source Kindstring: url, base64, s3truefalseurlSource kind, one of bas64 (jpg,png,svg), url, or s3 url (workspace storage)
Image Fitstring: contain, cover, fillfalsefalsecontainHow the image will fit the component box.
Alt textstringfalsefalse/This text will appear if the image can't be loaded for any reason.

Pick image from workspace storage

Example of picking an image from the workspace storage bucket.

Outputs

NameTypeDescription
loadingbooleanThe loading state of the Image component.