Skip to main content

MediaBlockVariants

Overview

MediaBlockVariants defines the visual and layout customization options for media blocks. These options control alignment, padding, direction, and other layout-specific attributes.

Attributes

desktopDirection

type: DirectionOptions (optional)

Specifies the layout direction for the desktop view.

mobileDirection

type: DirectionOptions (optional)

Specifies the layout direction for the mobile view.

textAlignment

type: TextAlignment (optional)

Controls the text alignment within the media block.

ctaDirection

type: DirectionOptions (optional)

Specifies the layout direction for call-to-action elements.

linkDirection

type: DirectionOptions (optional)

Specifies the layout direction for link elements.

imageLinkDirection

type: DirectionOptions (optional)

Specifies the layout direction for image link elements.

height

type: MediaHeightOptions (optional)

Defines the height configuration for the media block.

paddingTop

type: PaddingOptions (optional)

Specifies the top padding for the media block.

paddingBottom

type: PaddingOptions (optional)

Specifies the bottom padding for the media block.