# @moonup/moon-react

## Moon React

## **About Moon React:**

## **Installing Moon React:**

To utilize the Moon React package, first install it to the desired directory of the project:

#### To install Moon React

{% tabs %}
{% tab title="npm" %}

```bash
npm install @moonup/moon-react
```

{% endtab %}

{% tab title="yarn" %}

```bash
yarn add @moonup/moon-react
```

{% endtab %}

{% tab title="pnpm" %}

```bash
pnpm install @moonup/moon-react
```

{% endtab %}
{% endtabs %}

## Usage

```tsx
import { useMoonSDK } from '@moonup/moon-react';
```


---

# 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.usemoon.ai/additional-moon-packages-7ca327c0bb2846d88b8ba5bc6caeaead/moon-react.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.
