🔤Drop Mint Supply Text

Getting Started

Please be sure to have the following snippet in the head or upper portion of your HTML:

<script type="module" src="https://sdk.niftykit.com/widgets/widgets.esm.js"></script>

Mint Texts require users to connect their wallet first.

Code

<nk-diamond collection-id="Your-SDK-Public-Key">
  <nk-is-connected>
    <nk-drop-supply-text />
  </nk-is-connected>
</nk-diamond>

You can think of the component like any other element:

<nk-diamond collection-id="Your-SDK-Public-Key">
  <nk-is-connected>
    <h3>Current Supply is: <b><nk-drop-supply-text /></b></h3>
  </nk-is-connected>
</nk-diamond>

Codepen

Last updated