# Edition Mint Supply Text

### Getting Started

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

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

Mint Texts require users to connect their wallet first.

### Code

{% code lineNumbers="true" %}

```html
<nk-diamond collection-id="Your-SDK-Public-Key">
  <nk-is-connected>
    <nk-edition-supply-text edition-id="Your-Edition-Id" />
  </nk-is-connected>
</nk-diamond>
```

{% endcode %}

You can think of the component like any other element:

{% code lineNumbers="true" %}

```html
<nk-diamond collection-id="Your-SDK-Public-Key">
  <nk-is-connected>
    <h3>Current Supply is: <b><nk-edition-supply-text edition-id="Your-Edition-Id" /></b></h3>
  </nk-is-connected>
</nk-diamond>
```

{% endcode %}

### Codepen

{% embed url="<https://codepen.io/jcurbelo/pen/GRPBgOP>" %}
