How to use the Mintplex embed with custom buttons
Sometimes the default styling for our button is insufficient for the theme or layout of your minting site.
When you should be doing this...
Implementation
<!-- Minting button provided by Mintplex.xyz -->
<div id='rampp-minting-container-1461b754-eeb4-47f4-8cef-02262623c9ea' class='rampp-minting-container'>
<button
id='rampp-minting-button-1461b754-eeb4-47f4-8cef-02262623c9ea'
class='rampp-minting-button'
...
data-custom-mode="true" <-- Add this!!! -->
></button>
</div>
<!--
Don't forget all the default scripts that are imported in the normal Embed.
Especially don't forget the Mintplex/embed script!
-->
<script type='text/javascript' src="https://mintplex.xyz/embeds/v2.1/embed.js"
data-uuid='1461b754-eeb4-47f4-8cef-02262623c9ea'></script>
<!-- End Mintplex.xyz minting button-->HTML
React.js
That's all!
Last updated