LogoLogo
HomepageYouTube ChannelInstall from the AppExchange
  • Home
  • Dynamic Components
  • Flow Components
  • Experience Components
  • Projects
  • 👋Welcome
  • Getting Started
    • Product Tour
    • Quickstart Tutorial
    • Understanding The Essentials
      • Component Builder
      • Component Visibility
      • Target Page Object
      • Using Variables and Component Data
      • Publishing your Dynamic Components
      • Dynamic vs. Flow Components
    • Avonni Components App
      • Accessing the App
      • Folders
      • Templates
      • Version management
    • AppExchange Listing Page
    • Installation & Licenses Management
  • Tutorials
    • Projects
    • Components
      • Calendar
        • How to Create Events Quickly by Dragging
        • How to Add an Edit Action to Calendar Events
        • How to Add a New Event Button to the Calendar Header
        • How to Customize the Right-Click Menu
        • How to Reschedule Events with Drag and Drop
      • Columns
        • Creating a Responsive 3-Column Layout
      • Data Table
        • How to customize Data Table style
        • How to make a field editable
        • How to add clickable buttons
        • How to color-code badges
        • How to export data
        • How to configure search
        • How to set columns visibility
      • Kanban
        • Saving Changes on Drag-and-Drop
      • List
      • Metric
      • Record Detail
        • Saving Changes
    • Interactions
      • How to create an interaction to navigate to an object page
      • How to create an interaction to navigate to a record page
      • How to Pass Multiple Selected Records from a Dynamic Component to a Screen Flow
    • Reactive Components
      • Reactive Map and Data Table
      • Master-Detail Relationship with Data Tables
      • Vertical Tabs with Reactive Data Table
    • Style
      • How do you add space or a break between sections or fields?
    • Tips and Tricks
      • Using the Dynamic Component component
  • Component Builder
    • Overview
    • Configuring Components
      • Properties
      • Fields
      • Style
    • Data & Interactions
      • Data Sources
        • Manual
        • Picklist
      • Resources
        • Constant
        • Formula
        • Nested Queries
        • Query
        • Variable
      • Interactions
        • CRUD from Record Variable
        • Download
        • Execute Flow
        • Navigate
        • On Load
        • Open Alert Modal
        • Open Confirm
        • Open Dynamic Component Dialog
        • Open Dynamic Component Panel
        • Open Flow Panel
        • Open Flow Dialog
        • Show Toast
    • Advanced Topics
      • Undo / Redo
      • Copy and Paste
      • Keyboard Shortcut
  • Components
    • Explore All Components
    • Accordion
    • Alert
    • Audio Player
    • Avatar
    • Avatar Group
    • Badge
    • Barcode
    • Blockquote
    • Button
    • Button Group
    • Button Icon
    • Button Menu
    • Button Stateful
    • Calendar
    • Camera 🆕
    • Card
    • Carousel
    • Chart
    • Checkbox
    • Checkbox Button
    • Chip Container
    • Color Picker
    • Columns
    • Combobox
    • Container
    • Counter
    • Data LWC Container
    • Data Table
    • Date Picker
    • Date
    • Date Range
    • Dual Listbox
    • Dynamic Component
    • Formatted Address
    • Formatted Name
    • Formatted Value
    • Header
    • Icon
    • Icon Picker
    • Illustration
    • Image
    • Input Color
    • Input Date
    • Input Pen (Signature)
    • Input Text
    • Kanban
    • List
    • LWC Container
    • Map
    • Media Object
    • Metric
    • PDF Viewer
    • Pivot Table
    • Progress Bar
    • Progress Circle
    • Progress Indicator
    • Rating
    • Record Detail
    • Relationship Graph
    • Scope Notification
    • Section
    • Separator
    • Slider
    • Status
    • Tabbed Container
    • Tabs
    • Text
    • Text Area
    • Timeline
    • Toggle
    • Tree
    • Vertical Visual Picker
    • Video Player
    • Visual Picker
    • Visual Picker Link
  • Help
    • Contact Support
    • Security
    • Performance Guide
    • Deployment Process
    • Release Notes
    • Report Bugs
Powered by GitBook
LogoLogo

Company

  • About Us
  • Pricing

Policies

  • Privacy Policy
  • Terms of Service
On this page
  • Setting Up Your Media Object
  • 1. Add Content to Slots
  • 2. Configure Layout
  • Example Use Cases

Was this helpful?

  1. Components

Media Object

The Media Object component provides a flexible and visually appealing way to present content with images, icons, or other media.

Last updated 1 month ago

Was this helpful?

Setting Up Your Media Object

1. Add Content to Slots

The Media Object component is designed to be flexible, allowing you to create different layouts with your text and media easily. To achieve this, it uses a system of "slots":

Think of slots as containers where you can place different types of components.

The Media Object has three slots:

  • Left Slot: You can add an image, icon, or other media that you want to appear on the left side of your text content.

  • Content Slot: This is the main area for your text content. It will be positioned alongside the media you've added to the left or right slot.

  • Right Slot: Similar to the left slot, this allows you to add media that will appear on the right side of your text content

2. Configure Layout

Once you've added your content, you can fine-tune the layout of the Media Object using several properties:

  • Inline: If you want the media and text to be aligned perfectly side-by-side, enable the "Inline" toggle. This will ensure that the top and bottom edges of the media and text are aligned.

  • Responsive: To ensure your Media Object looks great on different screen sizes, enable the "Responsive" toggle. This will automatically adjust the layout based on the user's device, optimizing the display for desktop and mobile views.

  • Vertical Align: This property controls how the text is vertically aligned with the media. Depending on your design preferences and the content you're displaying, you can align the text to the media's top, middle, or bottom.

  • Size: To control the overall size of the Media Object, you can choose from predefined sizes (small, medium, large). This affects the dimensions of the media and the text content, allowing you to create compact or spacious layouts as needed.

Example Use Cases

  • Product Listings: Display product images alongside their descriptions and prices.

  • News Articles: Show article images or author avatars next to the text.

  • User Profiles: Present user avatars with their names and details.

  • Call-to-Action Sections: Combine images with compelling text and buttons.

With the Media Object component, you can create visually engaging and informative layouts that enhance the presentation of your content.

Media Object and Slots disposal