Thumbnail Element Usage

  1. Click on the Value field in the Properties panel on the right sidebar.
  2. Select Uploaded Images from the drop-down menu.
  3. The image library has the following options:
    • ADD IMAGE: You can add images from your device by dragging and dropping or selecting a file.
    • GENERATE WITH AI: You can generate images that are not available in browsers by describing the image you want with the AI assistant. You can add the generated images to the library by clicking the Download icon in the top right corner.

Adding Set Value Of Action

  1. Click the +ADD ACTION button in the Properties panel on the right edge.
  2. Select OnClick → UI Control → Set Value Of.
  3. In the window that opens, select the Thumbnail element in the Component To Change field.
  4. Click Symbol Picker to fill in the Value parameter:
    • Action Results → Upload File → Data.
  5. Preview the application by clicking the Run button in the upper right corner.

After that, clicking the button will open a screen for uploading files from your device. Here you can select a PDF or image file. If the selected file is a PDF, the PDF icon will be displayed, and if it is an image file, the preview image will be displayed.

The Thumbnail element is ideal for showing visual content quickly and effectively. The Zoom feature allows users to switch from small previews to full-size images. This feature enhances the user experience, especially in product catalogs, gallery applications and media content.