Home

Guides

Editor

Components

Actions

Conditions

Components

Basic

Container

Text

Image

Icon

Button

Forms

Local State

Text Input

Date Picker

Logic

Conditional Logic

Conditional Switch Logic

Modal

Sheet

Pager

Tabbed Pager

Data

Data Loader

Repeating Item

Countdown Timer

Data Transformer

Date Elements

Paging Data Loader

Contentful

Rich Text

Image Component Documentation

Overview

The Image Componentallows you to add and display images within your app, enhancing visual appeal and communication. It supports various image formats (.png, .jpg, .jpeg, .svg, .gif, .webp) and offers flexibility in terms of size, alignment and styling, making it a versatile tool for creating a more engaging user experience.


Key Features

  • Customisable Size

  • Alignment Options

  • Progress Indicators

Component Fields

1. URL

After adding your chosen image in the Image Center, click the copy URL symbol and paste this into the URL field.

Layout

2. Width

This allows you to set the horizontal size of your image. Click the % symbol to switch between percentage-based sizing and exact pixel measurements. When using the percentage option, the % value you set for your image is relative to the size of its container.

3. Height

This allows you to set the vertical size of your image. Click the % symbol to switch between percentage-based sizing and exact pixel measurements. When using the percentage option, the % value you set for your image is relative to the size of its container.

Progress

4. Loading

Select a component to display while your image is loading.

5. Fallback

Select a component to display in the event that your image fails to load.


Best Practices for Using the Image Component

  • Optimise Image Size: Use appropriately sized images to ensure fast load times without compromising quality.

  • Maintain Aspect Ratio: Keep the original aspect ratio to avoid distorting images unless a custom design requires otherwise.

  • Test on Multiple Devices: Check how the image looks on various screen sizes to ensure it's displayed properly on all devices.