# Is Holder

### 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 is a holder. Remember that this does not replace Token Access because they can see this in their source code. This is only to provide the experience, not to share secret messages.

This component requires users to connect their wallets first.

### Code

{% code lineNumbers="true" %}

```html
<nk-diamond collection-id="Your-SDK-Public-Key">
  <nk-is-connected>
    <nk-is-holder>
      <h3>Thanks Ape :)</h3>
    </nk-is-holder>
  </nk-is-connected>
</nk-diamond>
```

{% endcode %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.niftykit.com/customize-your-experience/niftykit-diamond-widgets/available-widgets/utilities/is-holder.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
