Multi Media

A section component that renders text content alongside media. Supports five media types: image, video, audio, icon, and Lottie animations with flexible layout options.

Image Properties

PropertyTypeRequiredDescription
image.srcstringYesPath to the image file
image.altstringYesAlternative text for accessibility
image.captionstringNoOptional caption displayed below the image

Audio Properties

PropertyTypeRequiredDescription
audio.bgImagestringNoBackground image displayed with audio player
audio.oggstringOne required*Path to OGG audio file
audio.mpegstringOne required*Path to MP3 audio file

*At least one audio format must be provided

Video Properties

PropertyTypeRequiredDescription
video.inSitubooleanNoDisplay inSitu (true) or in modal (false)
video.srcstringYesVideo source ('youtube', 'vimeo', or 'cloudinary')
video.idstringYesVideo ID for YouTube/Vimeo
video.cloudnamestringConditionalRequired for Cloudinary videos only
video.tnstringYesThumbnail image path for modal display

Icon Properties

PropertyTypeRequiredDescription
icon.iconstringYesIcon identifier from the icon library
icon.titlestringYesIcon title for accessibility
icon.urlstringNoOptional link URL for the icon

Lottie Animation Properties

PropertyTypeRequiredDescription
lottie.srcstringYesPath to Lottie JSON animation file
lottie.control.autoplaybooleanNoStart animation automatically (default: true)
lottie.control.loopbooleanNoLoop the animation (default: true)

Configuration

- sectionType: multi-media
  containerTag: aside
  isReverse: false
  # more settings

  text:
    leadIn: 'Image Example'
    title: Rich Visual Content with Images
    titleTag: 'h2'
    subTitle: 'Enhance your message with compelling visuals'
    prose: Images are the cornerstone of visual storytelling on the web...
  ctas:
    - url: 'https://metalsmith.io'
      label: 'Learn More'
      isButton: true
      buttonStyle: 'primary'
  mediaType: image # may be 'audio', 'icon', lottie','image', or 'video',
  image:
    # image properties
  audio:
    # audio properties
  icon:
    # icon properties
  lottie:
    # lottie properties
  video:
    # video properties

Configuration Options

Layout Settings

PropertyTypeRequiredDescription
isReversebooleanNoReverse the media/text layout (default: false)
mediaTypestringYesType of media ('image', 'video', 'audio', 'icon', 'lottie')

Content

PropertyTypeRequiredDescription
textobjectNoStandard text block with leadIn, title, subtitle, and prose
text.isCenteredbooleanNoCenters the text content within its container
ctasarrayNoArray of call-to-action buttons or links

Notes

  • Image, video, audio, icon, and Lottie animation support
  • YouTube, Vimeo, and Cloudinary integration
  • Viedeo modal overlays or inSitu embedding
  • Audio players with background images
  • Scalable vector icons from comprehensive library
  • JSON-based animations with playback controls