> For the complete documentation index, see [llms.txt](https://docs.niftykit.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.niftykit.com/customize-your-experience/niftykit-diamond-widgets/available-widgets/utilities/is-connected.md).

# Is Connected

### 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>
```

Anything underneath this component will only appear when the user has connected their wallet.

### Code

{% code lineNumbers="true" %}

```html
<nk-diamond collection-id="Your-SDK-Public-Key">
  <nk-is-connected>
    <h3>Foo?</h3>
    <p>Why does everyone keeps using Foo</p>
  </nk-is-connected>
</nk-diamond>
```

{% endcode %}
