Skip to content

Image

The Image element displays a static image loaded from a URL. Use it to show logos, illustrations, instructional diagrams, or any visual content within the form canvas.

Properties

PropertyTypeDescription
urlstringImage source URL
widthstring (CSS)Element width — e.g. 10em, 200px, 50%
heightstring (CSS)Element height
fitstringHow the image fills its bounding box — see below

Plus shared layout properties.

Fit modes

ValueBehaviour
coverScale the image to fill the box, cropping if necessary
containScale the image to fit entirely within the box, preserving aspect ratio
fillStretch the image to fill the box exactly, ignoring aspect ratio
scale-downUse the smaller of contain or the image's natural size
noneDisplay the image at its natural size with no scaling

See also: Elements overview

S-Launch