Skip to main content

Variants

Overview​

Variants defines the customizable styling and layout options for various UI components. These options provide flexibility for designing and arranging elements consistently across the application.

Attributes​

desktopOrientation​

type: OrientationOptions (optional)

Specifies the orientation of the component on desktop devices.

mobileOrientation​

type: OrientationOptions (optional)

Specifies the orientation of the component on mobile devices.

textAlignment​

type: TextAlignment (optional)

Defines the alignment of text content within the component.

ctaDirection​

type: DirectionOptions (optional)

Specifies the direction of call-to-action elements.

linkDirection​

type: DirectionOptions (optional)

Specifies the direction of link elements.

imageLinkDirection​

type: DirectionOptions (optional)

Specifies the direction of image link elements.

paddingTop​

type: PaddingOptions (optional)

Defines the top padding for the component.

paddingBottom​

type: PaddingOptions (optional)

Defines the bottom padding for the component.

height​

type: MediaHeightOptions (optional)

Specifies the height of the component.

layout​

type: MediaLayoutOptions (optional)

Defines the layout configuration of the component.