Home
Documentation
Resources
Certifications
Community

Resources

Check for updates on our solutions and system performance, or request technical support.

Community

Get the latest news, ask others for help and share your knowledge.

Change appearance - Visual customizations - Mercado Pago Developers

Change appearance

Client-Side

Wallet Brick allows for some visual customizations listed in the table below, all of which are optional and of the string type.

If the provided property is empty, the screen will display the appearance defined by the default layout. On the other hand, sending an alternative value will replace the default value.

KeyAvailable optionsDefault
themedefault ou blackdefault
customStyle.valuePropColorFor the default theme, valuePropColor can be blue or white, while for the dark theme, valuePropColor`` can be dark.For the default theme, the default is blue, while for the dark theme, the default is black.
customStyle.buttonHeightMinimum: 48px.
Maximum: free choice.
48px
customStyle.borderRadiusMinimum: livre escolha.
Maximum: free choice.
6px
customStyle.verticalPaddingMinimum: 8px.
Maximum: free choice.
8px
customStyle.horizontalPaddingMinimum: 0px.
Maximum: free choice.
0px
          
const settings = {
    ...,
    customization: {
        theme:'dark',
        customStyle: {
            valueProp: 'practicality',
            valuePropColor: 'black',
            borderRadius: '10px',
            verticalPadding: '10px',
            horizontalPadding: '10px',
        }
    }
}

        
          
const customization = {
    theme:'dark',
    customStyle: {
        valueProp: 'practicality',
        valuePropColor: 'black',
        borderRadius: '10px',
        verticalPadding: '10px',
        horizontalPadding: '10px',
    }
};

        

Hide value proposition (valueProp) text

It is also possible to hide the value proposition text by passing the value boolean true to the property customStyle.hideValueProp. The default value is false.

          
const settings = {
    ...,
    customization: {
	   theme: 'default',
        customStyle: {
            hideValueProp: true,
        }
    }
}

        
          
const customization = {
    theme: 'default',
    customStyle: {
        hideValueProp: true,
    }
};