Skip to Content

Display Components

Display components are the basic rendering units on a Momen page — static or dynamic text, media, and formatted content.

This reference lists each component’s definition, custom configuration, and action configuration (and limitations where needed). Shared Design fields (position, size, layout, style, text) are in Design Panel.

Components Overview

ComponentClientsData tabAction
TextWeb, Native App
ButtonWeb, Native App
ImageWeb, Native App
VideoWeb, Native App
Rich TextWeb, Native App
HTMLWeb only

Text

Definition

Renders single- or multi-line text. Supports plain text and Markdown (Web).

⌨️ Shortcut: T

Custom configuration

PropertyTypeDefault / optionsClients & conditionsDescription
Display modeenumPlain text / MarkdownWeb onlyRender as plain text or Markdown.
ContenttextemptyAllText to show; static or bound.
MultilinebooleanfalseAllWrap when content exceeds width. When off, single line truncates with ellipsis.
Max linesintegerunlimited (≥ 1)All (requires multiline)Cap visible lines; overflow shows ellipsis.
SEO tagenumNone / h1h6Web onlyHeading level for SEO structure.

Action configuration

Triggers: On click, On hover, On enter viewport, On scroll in viewport. See Trigger List.


Button

Definition

Clickable control with text and background. Does not embed icons or nested components — compose complex buttons with a View and child components.

⌨️ Shortcut: B

Custom configuration

PropertyTypeDefault / optionsClients & conditionsDescription
LabeltextemptyAllButton text; supports binding.
MultilinebooleanfalseAllWrap label when it exceeds button width.
Edit stateenumNormal / HoverHover styles Web onlyStyle Normal and Hover separately.

Action configuration

Triggers: On click, On hover, On enter viewport, On scroll in viewport. See Trigger List.


Image

Definition

Displays common image formats on the page.

⌨️ Shortcut: I

Custom configuration

PropertyTypeDefault / optionsClients & conditionsDescription
Sourcetext (URL / Base64) / imageemptyAllUpload, HTTPS URL, or Base64.
Fill modeenumFit / Crop fill / Stretch fillAllFit: scale to fit, may letterbox. Crop fill: cover container, crop overflow. Stretch fill: stretch to fill, may distort.
Auto compressbooleantrueNot for external URL sourceCompress uploads to WebP for faster loads.
Alt texttextemptyWeb, when SEO enabledAlternative text for SEO and screen readers.

Action configuration

Triggers: On click, On hover, On enter viewport, On scroll in viewport. See Trigger List.

Built-in fullscreen preview on click at runtime — pinch zoom, long-press save/share where the platform supports it.

Limitations

  1. Upload: jpg/png/webp/gif, max 20 MB, max 30,000 px per side, max 250M total pixels.
  2. Base64 max 256 KB.

Video

Definition

Plays uploaded MP4 files, bound video fields, or remote URLs including HLS (m3u8) streams.

Custom configuration

PropertyTypeDefault / optionsClients & conditionsDescription
Sourcetext (video URL) / videoemptyAllUpload MP4 (H.264 + AAC recommended), bind video field, or paste URL.
Native playerbooleanfalseWeb onlyUse browser native player; disables custom options below.
LoopbooleanfalseNon-native modeRestart when playback ends.
AutoplaybooleanfalseNon-native modePlay on load; browsers often block autoplay with sound — pair with mute.
ControlsbooleantrueNon-native mode, WebShow play/pause, volume, progress, fullscreen.
Mute buttonbooleantrueNon-native mode, WebShow mute toggle in control bar.
Fill modeenumFit / Crop fill / Stretch fillAllHow video frame fills the container.

Action configuration

Triggers: On play start, On hover, On enter viewport, On scroll in viewport.

  • On play start: when playback begins — analytics or cross-component logic.

See Trigger List.


Rich Text

Definition

Renders formatted HTML content (headings, bold, links, inline images).

Custom configuration

PropertyTypeDefault / optionsClients & conditionsDescription
Contenttext (HTML)emptyAllHTML to render. Unsafe tags such as <script> are stripped.

Action configuration

Triggers: On click, On hover, On enter viewport, On scroll in viewport. See Trigger List.


HTML

Definition

Embeds custom HTML/CSS or an external page via iframe. Web only.

Custom configuration

PropertyTypeDefault / optionsClients & conditionsDescription
ModeenumCode / iFrameWeb onlyCode: inline HTML/CSS fragment. iFrame: embed external HTTPS URL.
Codetext (HTML/CSS)emptyCode modeHTML/CSS with bindings. No <script>. Fragment only, not a full document.
Source URLtext (URL)emptyiFrame modeHTTPS URL to embed. Sites with X-Frame-Options may refuse to load.

Action configuration

HTML component does not support action configuration.

Last updated on