> For the complete documentation index, see [llms.txt](https://catchdocs.gitbook.io/catch-customer-documentation/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://catchdocs.gitbook.io/catch-customer-documentation/interactivity-catch/catch/widgets/inline-pre-built.md).

# Inline (Pre-built)

## Image Widget

Inline image widgets are always displayed fixed width, filling the full width of the inline widget container. The height of the widget is dynamically adjusted within the app based on the aspect ratio of the provided asset.&#x20;

Supported image formats:

* JPG
* PNG (If transparency is included, the rounded container is not shown)
* GIF (auto-playing)

<figure><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2FrZaaRZCDbuSYoQLm8hMs%2FUntitled.png?alt=media&amp;token=669dcc75-7689-4834-b29b-4aa9e091b0d4" alt=""><figcaption><p>Image Widget</p></figcaption></figure>

## Lottie Widget

Lottie is a lightweight animation format, commonly used to animate logos, icons, and other vector based graphics.

Supported Formats

* Lottiefiles URL
* .json

<figure><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2F5898gGbr5HdsnbOJWg4m%2Flottiewidget.jpg?alt=media&amp;token=5f8c24d0-6c32-4482-b528-994a22383e2d" alt=""><figcaption><p>Image Widget</p></figcaption></figure>

## Video Widget

Video widgets auto-play. Audio is muted by default. Both the Catch app and Catch Lite makes a best effort to honour the current muted state of the device, in its decision to play audio or not when un-muted.

Like images, videos are fixed in width, and dynamic in height, based on the aspect ratio of the uploaded video.

<figure><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2FPBxSv2XlK5o8Yc5Mw1Xh%2Fvideowidget.jpg?alt=media&amp;token=5ba53d9a-5ca4-4d11-ad59-a0d8c5686d63" alt=""><figcaption><p>Image Widget</p></figcaption></figure>

## Text Widget

<figure><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2FbkQGuX8JHMHPtgQLfKM0%2Ftextwidget.jpg?alt=media&amp;token=772db7d6-9db3-4b2c-84d7-49786623df5e" alt=""><figcaption></figcaption></figure>

The Text widget is a small text container with several layout variants, supporting any combination of up to 2 lines of header and/or body text. The container also supports both solid fill and a vertical gradient background.

The text contents are vertically and horizontally centred within the container. If the either the body or header are blank, they will not show, and the container will only show the other.

## Icon Link Widget

<figure><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2FkbLYS0BHux2CzYglvVTL%2Flinkwidget.jpg?alt=media&amp;token=d57f1744-9a1e-49fe-a8be-94d283ef3afe" alt=""><figcaption></figcaption></figure>

The Icon Link widget is a small container of text and an Icon that, together, act as a hyperlink. The container supports a vertical gradient from top to bottom, or a solid fill background.

Inside the container is a line of text, an icon, and an arrow - which are all displayed in the same (customisable) colour.

There are multiple icons available to act as visual cues for multiple popular online channels, detailled in  the Icon List below.

The contents are vertically centred in the container. The text is left aligned to the icon, with equal margins around the icon. The Arrow is right aligned into a fixed position.

<details>

<summary>Icon List</summary>

<table data-header-hidden><thead><tr><th width="116" align="center">Icon</th><th>Description</th></tr></thead><tbody><tr><td align="center"><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2FGGepr7woxhKHspSmPHsQ%2Fimage.png?alt=media&amp;token=cd6251c7-bbbf-47da-8110-07bbdc0670a6" alt="" data-size="original"></td><td>iOS App Store</td></tr><tr><td align="center"><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2Fe2bTFEH2xyUHACxr5o7u%2Fimage.png?alt=media&amp;token=7d7b19d8-93c8-4009-a052-d453fc1269fb" alt="" data-size="original"></td><td>Zomato</td></tr><tr><td align="center"><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2Fr19MADiWG6eSaVEIgnSj%2Fimage.png?alt=media&amp;token=5f715902-4945-4ae9-b115-10b55c1e81a9" alt="" data-size="original"></td><td>Google Play Store (Android)</td></tr><tr><td align="center"><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2F8E0mOn2Rieh6e22yt87Q%2Fimage.png?alt=media&amp;token=12307adf-c0da-4bf0-9656-d2ef98d03adb" alt="" data-size="original"></td><td>Phone</td></tr><tr><td align="center"><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2FIr2YL7PKW7WtueHVvSm8%2Fimage.png?alt=media&amp;token=b31f69c3-24b4-443f-aa93-c6cf7705aa6a" alt="" data-size="original"></td><td>Facebook Messenger</td></tr><tr><td align="center"><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2FMvEedQ1DwzaL6jYsxZJG%2Fimage.png?alt=media&amp;token=254fbb35-41a0-4b2a-b7c5-cec775c12940" alt="" data-size="original"></td><td>WhatsApp</td></tr><tr><td align="center"><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2F89U63ZE7I49EmN4acgzQ%2Fimage.png?alt=media&amp;token=08970332-85d4-4d7e-9fca-2380105f0e83" alt="" data-size="original"></td><td>SnapChat</td></tr><tr><td align="center"><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2FlYx5D5NHZqlYPZl70nnH%2Fimage.png?alt=media&amp;token=b05f7554-f366-408f-8f31-39fb60ca7d54" alt="" data-size="original"></td><td>Instagram</td></tr><tr><td align="center"><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2FvdByhFHJOZzeusRJ7JcL%2Fimage.png?alt=media&amp;token=97a1fa58-f731-4957-8ae7-6c6ade07c2c1" alt="" data-size="original"></td><td>Web</td></tr><tr><td align="center"><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2FWw1OSce1wsdnt6rb89iB%2Fimage.png?alt=media&amp;token=cabf9fd0-9c7d-490b-bd79-60e3212ac802" alt="" data-size="original"></td><td>Map Pin</td></tr><tr><td align="center"><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2FHsiRYbmX1YjKdMu5xqyD%2Fimage.png?alt=media&amp;token=73d8561c-3bab-4a02-9ec8-544033c1d2ae" alt="" data-size="original"></td><td>Email</td></tr><tr><td align="center"><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2FCp8fi5Edtd8yQpD7KUHu%2Fimage.png?alt=media&amp;token=462cf9aa-98f7-4c03-b475-b233305a8b85" alt="" data-size="original"></td><td>Facebook</td></tr><tr><td align="center"><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2FXJWpoxR8vsC1aBlTLmvO%2Fimage.png?alt=media&amp;token=47df0296-e41f-4f6d-80ca-f37a68107129" alt="" data-size="original"></td><td>Uber</td></tr><tr><td align="center"><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2F1GvVJVOFWAPojsyl5WWY%2Fimage.png?alt=media&amp;token=c1b43242-756a-4f62-92a2-b01611780d59" alt="" data-size="original"></td><td>Buy Cart</td></tr><tr><td align="center"><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2FeAXfPSCFfuv2g5xmhscR%2Fimage.png?alt=media&amp;token=af0738dc-1a7a-4383-987c-435cdb119d45" alt="" data-size="original"></td><td>Careem</td></tr><tr><td align="center"><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2FxAhJ0dN4rx7jkjo3PU8Q%2Fimage.png?alt=media&amp;token=7c9016cf-b929-4f81-93a4-a1b731484ae8" alt="" data-size="original"></td><td>Amazon</td></tr><tr><td align="center"><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2FHhPQePXsSSTIs8Mbprww%2Fimage.png?alt=media&amp;token=4df96519-fe1b-4a37-809b-c547a6a704ea" alt="" data-size="original"></td><td>Entertainer</td></tr><tr><td align="center"><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2F3piZUU77mL5lcl3jmAAF%2Fimage.png?alt=media&amp;token=09316460-41ef-427f-8651-c8013cdd1ad2" alt="" data-size="original"></td><td>Talabat</td></tr><tr><td align="center"><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2Fn5laZNRBoLoP0VzLwbn5%2Fimage.png?alt=media&amp;token=f945bd71-f1a3-48ce-ba6f-a106187b8132" alt="" data-size="original"></td><td>Uber Eats</td></tr><tr><td align="center"><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2Ftwdyviwgn3LuIbHFXE8r%2Fimage.png?alt=media&amp;token=b3934c21-c56b-4ca9-af12-4d940bdc2c03" alt="" data-size="original"></td><td>Deliveroo</td></tr></tbody></table>

</details>

## Augmented Reality (AR)

The AR widget shows an image preview of a 3D AR model, which is opened by AR QuickLook on iOS, and Scene Viewer on Android. If the device does not support the relevant viewer, the widget has no AR functionality, and shows only the image preview.

Supported AR File Formats

* **iOS**
  * USDZ
* **Android**
  * GLB
  * gITF

<figure><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2FHMaGO6i0F4u1Na2wljSO%2Farwidget.jpg?alt=media&amp;token=d696474d-622f-488c-b84e-c5d4587d703b" alt=""><figcaption></figcaption></figure>

## Instagram

* Specified Instagram Account
* The 9 most recent photos are shown in a grid, from top left to bottom right
* The background colour, and text colour are both customisable

<figure><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2FkkfTglXRJyZmUC18D0fv%2Fdownload.png?alt=media&amp;token=dc468cf2-1465-4f8e-ba74-df8f94ce01d7" alt=""><figcaption></figcaption></figure>

## Social Follow Widgets

* Single click to follow the Brand on Instagram or Like their Facebook page
* Requires the user to be logged-in to Social on the Phone's browser, in order for the widget to work, and therefore display.

<figure><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2FL2NTnbcdplwSKRYTXgXi%2Fdownload.png?alt=media&amp;token=13e1f128-93af-4a03-bf5f-4ed43d9f3f9a" alt=""><figcaption></figcaption></figure>

## HTML snippet

* Inline web container, rendering a specified URL
* Must be approved by Catch
* A liability waiver must be signed by the brand to use this Widget

<figure><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2F3LJgogknR66vOsqczfGC%2Fdownload.png?alt=media&amp;token=2c895498-853f-4f34-af5d-5381ebf3bfe2" alt=""><figcaption></figcaption></figure>

## Horizontal Image Scroller (Slideshow)

* Shows up to 5 Images in a horizontal scroller
* All images must be the same resolution
* Images are 60% of the display width, and have a dynamic height, based on the aspect ratio of the provided image
* All images can link to a different URL
* Supports JPG, PNG, and GIF

<figure><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2FcGFcVPpzliPxlVtlLBve%2Fdownload.png?alt=media&amp;token=eecfefd3-7f0c-4223-a9c6-f29959676940" alt=""><figcaption></figcaption></figure>

## Send Enquiry

* Generates emails to a brand-specified target email address
* Emails are sent by Catch
* The user's phone number is shared by default, and the user can select whether to share their name
* The brand can specify a list of enquiry types, for example "Please call be back to arrange a test drive"&#x20;

<figure><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2FSsKbkPeYYMZ245q1pABD%2Fdownload.png?alt=media&amp;token=6625845b-f6c5-472c-b192-075ce5251b38" alt=""><figcaption></figcaption></figure>

## Product

* Full width
* Fixed image resolution
* Product Name
* Currency Marker
* List price
* Discounted price (Optional)
* Link to e-commerce

<figure><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2FCrTm3YOOKyFneqIidMNR%2Fdownload.png?alt=media&amp;token=6a5958e5-e901-4ffa-8d52-9a53a8afeb68" alt=""><figcaption></figcaption></figure>

## Product Scroller

* A Scroller of [Products](#product)

<figure><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2FkE73Xgmn7eE2sugi0QXq%2Fdownload.png?alt=media&amp;token=2b032f15-9cec-4e62-babd-bca6b93260b2" alt=""><figcaption></figcaption></figure>

## Wallet Coupon

* Title
* Background Image (Automatically blurred)
* Coupon code
* Link to redemption URL
* Option to add to wallet <mark style="background-color:yellow;">Coming Soon</mark>

<figure><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2FQJvR1u0arxgBjEkM16ec%2Fdownload.png?alt=media&amp;token=9453d052-4a73-4cb3-ae2b-36da3a298f74" alt=""><figcaption></figcaption></figure>

## Audio Widgets

### Spotify Widget

This widget is an Embed provided by Spotify Directly, the documentation for the embed is accessible from [Spotify](https://developer.spotify.com/documentation/embeds/tutorials/using-the-iframe-api).

<figure><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2FikpaEkg83yZ439xAtWWH%2Fspotifywidget.jpg?alt=media&amp;token=69fadb84-7e6f-451b-8688-b88bec10d8f3" alt=""><figcaption></figcaption></figure>

### Soundcloud

This widget is an Embed provided by Soundcloud Directly, and supports any public Soundcloud content.

<figure><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2FGyMPN9TncqSlIFDvmEQh%2Fsoundcloudwidget.jpg?alt=media&amp;token=376ea845-9125-420d-b5eb-f07d92ca995b" alt=""><figcaption></figcaption></figure>

### Apple Music

This widget is an Embed provided by Apple Directly, and supports any content listed on Apple music.

<figure><img src="https://2966176008-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIFiiJXfTguvp4qi7HGaq%2Fuploads%2F6qe9UrFnXr20mf5woDMZ%2Fapplemusicwidget.jpg?alt=media&amp;token=fd9b49e8-eabe-41de-af08-871118a387fd" alt=""><figcaption></figcaption></figure>

### MP3 Widget

The MP3 widget will play an audio file while the widget view is active, and is useful for music events, movie contnet, or other  entertainment campaigns.

#### Spinning Album Art behaviour

The album artwork for the MP3 widget must be shown as a rotating image widget (rotating at 45pm) in either the first widget position (collapsing to the header on-scroll), or always in the header.

{% embed url="<https://www.catch.ad/wp-content/uploads/2024/09/GB_Catch_IP.mp4>" %}

## **Planned Widgets**

* Mailchimp (Join mailing list)
* Trustpilot
* Opentable
* The Fork
* Eventbrite
* Intercom
* Google Maps
* Scrolling text ticker
* Expanded Icon Sets for the [Icon Link Widget](#icon-link-widget)
  * MUI
  * Icomoon
