Skip to content
Components

Media

Add images, videos, Lottie animations, and carousels to your flows.

Media

Media components bring visual richness to your in-app experiences. Display images, play videos, render Lottie animations, or build swipeable carousels — all rendered natively on each platform.

Image

The Image component displays static images on a screen. You can upload images directly to Setgreet or reference them by URL.

Properties

PropertyTypeDescription
SourceimageUpload an image or provide a URL.
Content ModeselectHow the image fills its frame: Fit (preserves aspect ratio, may letterbox), Fill (stretches to fill), Cover (crops to fill while preserving aspect ratio).
WidthsizeComponent width. Pixel value, percentage, or "auto".
HeightsizeComponent height. Pixel value, percentage, or "auto".
Aspect RationumberFixed width-to-height ratio (e.g., 16/9). When set, the image scales proportionally.
Border RadiusnumberCorner rounding in pixels.
PaddingspacingInternal spacing around the image.
MarginspacingExternal spacing around the component.
OpacitynumberTransparency level (0 to 1).

Variable bindings

The image source URL supports variable bindings. This lets you display user-specific images — for example, a profile photo loaded from a user attribute.

Uploaded images are stored on Setgreet's CDN and served with optimized caching. For dynamic images, use a URL source with variable bindings.


Video

The Video component embeds a native video player within your flow screens. Use it for product walkthroughs, onboarding tutorials, or promotional content.

Properties

PropertyTypeDescription
Source URLurlURL to the video file (MP4 recommended).
AutoplaybooleanStart playing automatically when the screen appears. Default: true.
LoopbooleanRestart the video when it reaches the end. Default: false.
MutebooleanPlay without audio. Default: false.
Show ControlsbooleanDisplay native playback controls (play/pause, seek). Default: true.
WidthsizeComponent width.
HeightsizeComponent height.
Aspect RationumberFixed width-to-height ratio.
Border RadiusnumberCorner rounding.
Poster ImageimageThumbnail displayed before the video plays.

Analytics

Video interactions are automatically tracked: play, pause, completion, and watch duration. These events appear in your flow analytics and can be forwarded to external analytics tools.


Lottie

The Lottie component renders JSON-based animations created with After Effects and exported via Bodymovin. Lottie animations are lightweight, resolution-independent, and render smoothly on both iOS and Android.

Properties

PropertyTypeDescription
SourceurlURL to the Lottie JSON file.
AutoplaybooleanStart the animation immediately. Default: true.
LoopbooleanRepeat the animation continuously. Default: true.
SpeednumberPlayback speed multiplier. Default: 1. Values above 1 speed up, below 1 slow down.
Start FramenumberFrame number to begin playback from.
End FramenumberFrame number to stop playback at.
WidthsizeComponent width.
HeightsizeComponent height.

When to use Lottie

Lottie is ideal for:

  • Animated illustrations during onboarding
  • Success/celebration animations after completing a task
  • Loading or progress indicators with custom branding
  • Attention-grabbing decorative elements

Lottie JSON files should be hosted on a CDN or uploaded to Setgreet. Keep file sizes reasonable (under 500KB) for optimal performance on mobile devices.


The Carousel component creates a horizontally swipeable set of cards. Each card can contain its own content — images, text, buttons — making carousels effective for feature tours, product showcases, or multi-step introductions within a single screen.

Properties

PropertyTypeDescription
ItemsarrayThe list of carousel cards. Each card has its own content configuration.
AutoplaybooleanAutomatically advance through cards. Default: false.
Autoplay IntervalnumberSeconds between auto-advances. Default: 3.
Show IndicatorsbooleanDisplay dot indicators below the carousel. Default: true.
Indicator ColorcolorActive indicator dot color.
Indicator Inactive ColorcolorInactive indicator dot color.
LoopbooleanReturn to the first card after the last. Default: true.
WidthsizeCarousel width.
HeightsizeCarousel height.
GapnumberSpacing between cards in pixels.

Analytics

Carousel swipe interactions are tracked automatically. You can see which cards users viewed, how far they swiped, and which card they stopped on in your flow analytics.

On this page