Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 18 additions & 1 deletion agent-skills.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Build CometChat with AI Agent Skills"
sidebarTitle: "Agent Skills"
description: "Install the CometChat agent skills so your AI coding agent (Claude Code, Cursor, GitHub Copilot, Replit, and more) can add production-grade chat and calling to your React, Angular, React Native, iOS, Android, or Flutter app from natural-language prompts."
description: "Install the CometChat agent skills so your AI coding agent (30+ agents, including Claude Code, Cursor, GitHub Copilot, and Replit) can add production-grade chat and calling to your React, Angular, React Native, iOS, Android, or Flutter app from natural-language prompts."

Check warning on line 4 in agent-skills.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

agent-skills.mdx#L4

Did you really mean 'Replit'?
canonical: "https://www.cometchat.com/docs/agent-skills"
---

Expand Down Expand Up @@ -33,11 +33,11 @@

| Platform | UI Kit |
| --- | --- |
| **React** 18+ — Vite, Create React App, Next.js, React Router, Astro | React UI Kit v7 |

Check warning on line 36 in agent-skills.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

agent-skills.mdx#L36

Did you really mean 'Astro'?
| **Angular** — Angular CLI or Nx | Angular UI Kit v5 |

Check warning on line 37 in agent-skills.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

agent-skills.mdx#L37

Did you really mean 'Nx'?
| **React Native** — bare or Expo | React Native UI Kit v5 |
| **iOS** — Swift, Swift Package Manager | iOS UI Kit v5 |
| **Android** — Jetpack Compose or Kotlin (Views) | Android UI Kit v6 |

Check warning on line 40 in agent-skills.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

agent-skills.mdx#L40

Did you really mean 'Jetpack'?
| **Flutter** | Flutter UI Kit v6 |

<Note>
Expand All @@ -50,7 +50,7 @@
skills land in the project — then run `npx @cometchat/skills add` with no flag. Otherwise name the
platform explicitly, e.g. `npx @cometchat/skills add --family react`. The skills install into
the folder you run the command in, so run it inside your app's project folder.
* **A monorepo root**, where the framework lives in a package rather than at the root — run `add`

Check warning on line 53 in agent-skills.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

agent-skills.mdx#L53

Did you really mean 'monorepo'?
inside the app package, or pass `--family <platform>`.
* **Headless SDK / calls skills**, which have no UI Kit to detect — see
[Building your own UI](#building-your-own-ui).
Expand All @@ -58,7 +58,7 @@

## Install

Run the installer in your app's folder (in a monorepo, the app package, not the repo root):

Check warning on line 61 in agent-skills.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

agent-skills.mdx#L61

Did you really mean 'monorepo'?

```bash
npx @cometchat/skills add
Expand All @@ -80,14 +80,17 @@

### Supported agents

CometChat Agent Skills work with **30+ AI coding agents**. The installer sets up
these 12 directly, including the CometChat Docs MCP connection:

| Agent | Install with |
| --- | --- |
| Claude Code | `--ide claude` |
| Cursor | `--ide cursor` |
| Kiro | `--ide kiro` |

Check warning on line 90 in agent-skills.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

agent-skills.mdx#L90

Did you really mean 'Kiro'?
| Antigravity | `--ide antigravity` |
| GitHub Copilot | `--ide copilot` |
| Replit Agent | `--ide replit` |

Check warning on line 93 in agent-skills.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

agent-skills.mdx#L93

Did you really mean 'Replit'?
| Codex | `--ide codex` |
| Gemini | `--ide gemini` |
| Windsurf | `--ide windsurf` |
Expand All @@ -96,12 +99,26 @@
| Aider | `--ide aider` |

<Note>
Claude Code, Kiro, and Replit get a native `SKILL.md` tree. The other agents get

Check warning on line 102 in agent-skills.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

agent-skills.mdx#L102

Did you really mean 'Kiro'?

Check warning on line 102 in agent-skills.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

agent-skills.mdx#L102

Did you really mean 'Replit'?
an orienting router plus a `./.cometchat/skills` tree. Add `--global` (Claude
Code only) to install into your user-level `~/.claude/skills` instead of the
project.
</Note>

#### Any other agent

Any other agent that reads the open [Agent Skills](https://agentskills.io) format,
such as OpenCode, Amp, Goose, Roo Code, Kilo Code, Junie, Zed, Warp, Trae, and

Check warning on line 111 in agent-skills.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

agent-skills.mdx#L111

Did you really mean 'Junie'?

Check warning on line 111 in agent-skills.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

agent-skills.mdx#L111

Did you really mean 'Trae'?
Qwen Code, can install the pack with the [`skills` CLI](https://skills.sh)

Check warning on line 112 in agent-skills.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

agent-skills.mdx#L112

Did you really mean 'Qwen'?
(Node.js 22.20+):

```bash
npx skills add cometchat/cometchat-skills
```

This installs the skill files only. Connect the [CometChat MCP server](/mcp-server)
yourself so the skills can read the current docs.

## Use it

Open your project in your agent and prompt it:
Expand Down Expand Up @@ -170,7 +187,7 @@

| Platform | Where the credentials go |
| --- | --- |
| React | `.env` (`.env.local` for Next.js) with your bundler's prefix: `VITE_` / `REACT_APP_` / `NEXT_PUBLIC_` / `PUBLIC_` |

Check warning on line 190 in agent-skills.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

agent-skills.mdx#L190

Did you really mean 'bundler's'?
| Angular | `src/environments/environment.ts` |
| React Native | `.env` |
| iOS | `Secrets.xcconfig` |
Expand All @@ -180,7 +197,7 @@
<Warning>
**Keep credentials out of version control.** Both `.cometchat/config.json` and
the generated credentials file contain your **Auth Key**. Make sure they're in
`.gitignore` — for example, Vite, CRA, and Astro ignore only `*.local` (not

Check warning on line 200 in agent-skills.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

agent-skills.mdx#L200

Did you really mean 'Astro'?
`.env`), so add `.env` yourself. The Auth Key is for **development only**: in
production, mint a short-lived per-user **auth token** on your backend and log in
with it (`loginWithAuthToken()` on web) — never ship the Auth Key to a production
Expand Down Expand Up @@ -249,8 +266,8 @@
android-calls` share the `cometchat-android-v5-` folder, so installing **either**
brings in both the Android Chat SDK and Calls SDK skills.

And for the router-file agents (every agent other than Claude Code, Kiro and

Check warning on line 269 in agent-skills.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

agent-skills.mdx#L269

Did you really mean 'Kiro'?
Replit), the managed router block in `AGENTS.md` (and the equivalent files) always

Check warning on line 270 in agent-skills.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

agent-skills.mdx#L270

Did you really mean 'Replit'?
points to the **last** family you installed. `--family` takes a single value and
replaces detection, so it can't be combined with your platform in one run — after a
`--family` run, re-run `npx @cometchat/skills add --ide <agent>` **without**
Expand All @@ -265,7 +282,7 @@
| `components` | The UI Kit component catalog + props / inputs / slots |
| `placement` | Where chat lives — full screen, sidebar, popup, embedded panel, navigation |
| `customization` | Theming · brand · light/dark · view slots |
| `patterns` | Framework glue — e.g. Vite / Next.js / React Router / Astro, Angular CLI / Nx, Expo vs bare React Native |

Check warning on line 285 in agent-skills.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

agent-skills.mdx#L285

Did you really mean 'Astro'?

Check warning on line 285 in agent-skills.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

agent-skills.mdx#L285

Did you really mean 'Nx'?
| `features` | Enable a feature — reactions · polls · AI · moderation · … |
| `calls` | Voice / video calling with the UI Kit |
| `push` | Push notifications (Notifications product) |
Expand Down Expand Up @@ -332,7 +349,7 @@
- **Update** — re-run `npx @cometchat/skills add` to pull the latest skills; it overwrites the installed skill tree in place.
- **Inspect** — `npx @cometchat/skills list` lists the skills the pack ships, and `npx @cometchat/skills doctor` runs an environment health check.
- **Uninstall** — there's no uninstall command. Remove what `add` wrote for your agent:
- **The skill files** — `.claude/skills/cometchat*` (Claude Code), `.kiro/skills/cometchat*` (Kiro), `.agents/skills/cometchat*` (Replit), or `./.cometchat/skills` (every other agent). For Claude Code, Kiro, and Replit, also delete the shared files `add` puts at the top of that folder: `RULES.md`, `peers.yaml`, `catalogs/`, and the `features*.json` / `contracts*.json` files. For a `--global` install, use `~/.claude/skills` instead.

Check warning on line 352 in agent-skills.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

agent-skills.mdx#L352

Did you really mean 'Kiro'?

Check warning on line 352 in agent-skills.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

agent-skills.mdx#L352

Did you really mean 'Replit'?

Check warning on line 352 in agent-skills.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

agent-skills.mdx#L352

Did you really mean 'Kiro'?

Check warning on line 352 in agent-skills.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

agent-skills.mdx#L352

Did you really mean 'Replit'?
- **The router block** — for the other agents, `add` also writes a block between `<!-- cometchat-skills:start -->` and `<!-- cometchat-skills:end -->` into the agent's instruction file: `AGENTS.md` (Cursor, Codex, Antigravity, Continue), `.github/copilot-instructions.md` (Copilot), `GEMINI.md` (Gemini), `.windsurfrules` (Windsurf), `.clinerules/cometchat.md` — or `.clinerules` itself when you already have that as a file — (Cline), or `CONVENTIONS.md` (Aider). Delete that block and keep the rest of the file.
- **The Docs MCP entry** — remove the `cometchat-docs` server from `.mcp.json` (Claude Code), `.cursor/mcp.json` (Cursor), `.gemini/settings.json` (Gemini), or `.codex/config.toml` (Codex). For a `--global` Claude Code install, run `claude mcp remove --scope user cometchat-docs`. Other agents get no MCP entry.
- **Version control** — commit the skill files so your whole team shares the same setup. Do **not** commit `.cometchat/config.json` or the generated env file — they hold your Auth Key. (Flutter is the exception: commit the `cometchat-settings.json` **placeholder** with an empty `authKey`, as noted above — a missing asset breaks `flutter build` — and keep the real credentials local.)
Expand All @@ -342,10 +359,10 @@
| Symptom | Likely cause | Fix |
| --- | --- | --- |
| The agent doesn't pick up the skills | Installed for a different agent, or a router-based agent needs pointing at the tree | Re-run `npx @cometchat/skills add --ide <your-agent>`. For router agents (Cursor, Copilot, …) open `.cometchat/skills/cometchat/SKILL.md` to orient it. |
| Blank screen, no errors | A UI Kit component rendered before `init` + `login` resolved, or the credentials weren't picked up | The `init → login → render` order is required. Check that the Region matches your dashboard app and that the app reads the [credentials file](#connect-your-credentials) for your platform (on React, the env prefix must match your bundler: `VITE_` / `REACT_APP_` / `NEXT_PUBLIC_` / `PUBLIC_`). |

Check warning on line 362 in agent-skills.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

agent-skills.mdx#L362

Did you really mean 'bundler'?
| `login()` fails — "user not found" | Logging in a UID that doesn't exist in the app | Use a UID that exists (Dashboard → your app → **Users**; fresh apps seed `cometchat-uid-1`). |
| Auth error on init / login | Region mismatch between your code and the dashboard app | Re-check the Region (`us` / `eu` / `in`) in both the dashboard and your env file. |
| `ERROR_API_KEY_NOT_FOUND` | A credential is empty or not picked up by the build | Confirm the credentials file for your platform is filled in (on web, with the right env prefix for your bundler), then rebuild or restart the dev server. |

Check warning on line 365 in agent-skills.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

agent-skills.mdx#L365

Did you really mean 'bundler'?
| Version conflict during install | An older UI Kit major is already installed (for example React v6 or Android v5) | Ask the agent to migrate — your platform's `migration` skill upgrades it to the version the skills target. |

## Compatibility
Expand Down
2 changes: 1 addition & 1 deletion ui-kit/android/v5/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -44,11 +44,11 @@
/cometchat add chat to my app
```

The skill detects your Android project structure, build system (Gradle/Kotlin DSL), and existing auth system. It onboards you to CometChat directly in the terminal — signup, login, and app creation all via the CLI. It reads your Activities, Fragments, and navigation before proposing a placement, shows the plan, and waits for your approval before writing code. Credentials are saved to `local.properties` and accessed via `BuildConfig`.

Check warning on line 47 in ui-kit/android/v5/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/android/v5/getting-started.mdx#L47

Did you really mean 'onboards'?

Check warning on line 47 in ui-kit/android/v5/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/android/v5/getting-started.mdx#L47

Did you really mean 'signup'?

After the first integration, re-run `/cometchat` to access the iteration menu: theme presets, 40+ features, component customization, production auth, user management, and diagnostics.

Works with Claude Code, Cursor, Codex, VS Code Copilot, Windsurf, Cline, Kiro, and [30+ more agents](https://github.com/cometchat/cometchat-skills).
Works with [30+ AI coding agents](/agent-skills#supported-agents), including Claude Code, Cursor, Codex, GitHub Copilot, Windsurf, Cline, and Kiro.

Check warning on line 51 in ui-kit/android/v5/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/android/v5/getting-started.mdx#L51

Did you really mean 'Kiro'?

---

Expand All @@ -66,7 +66,7 @@
- Android Studio installed
- An Android emulator or physical device running Android 7.0 (API 24) or higher
- Java 8 or higher
- Gradle plugin 4.0.1 or later

Check warning on line 69 in ui-kit/android/v5/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/android/v5/getting-started.mdx#L69

Did you really mean 'Gradle'?

<Warning>
Auth Key is for development only. In production, generate Auth Tokens server-side via the [REST API](/rest-api/chat-apis) and use [`loginWithAuthToken()`](/ui-kit/android/v5/methods#login-using-auth-token). Never ship Auth Keys in client code.
Expand All @@ -85,7 +85,7 @@

## Step 2 — Install Dependencies

Add the CometChat repository and dependencies to your Gradle configuration.

Check warning on line 88 in ui-kit/android/v5/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/android/v5/getting-started.mdx#L88

Did you really mean 'Gradle'?

### Add the CometChat Repository

Expand Down Expand Up @@ -146,7 +146,7 @@
cometchat-calls-sdk = { module = "com.cometchat:calls-sdk-android", version.ref = "cometchat-calls-sdk" }
```

Now, in your app-level `build.gradle.kts` file, add the dependency using libs from Version Catalogs:

Check warning on line 149 in ui-kit/android/v5/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/android/v5/getting-started.mdx#L149

Did you really mean 'libs'?

```gradle build.gradle.kts lines
dependencies {
Expand Down Expand Up @@ -178,7 +178,7 @@

### Add AndroidX Support

The Jetifier tool helps migrate legacy support libraries to AndroidX. Open `gradle.properties` and verify this line is present:

Check warning on line 181 in ui-kit/android/v5/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/android/v5/getting-started.mdx#L181

Did you really mean 'Jetifier'?

```gradle gradle.properties lines
android.enableJetifier=true
Expand All @@ -190,7 +190,7 @@

To authenticate a user, you need a UID. You can either create users on the [CometChat Dashboard](https://app.cometchat.com), via the [SDK method](/ui-kit/android/v5/methods#create-user), or through the [REST API](/rest-api/chat-apis).

For development, use one of the pre-created test UIDs:

Check warning on line 193 in ui-kit/android/v5/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/android/v5/getting-started.mdx#L193

Did you really mean 'UIDs'?

`cometchat-uid-1` · `cometchat-uid-2` · `cometchat-uid-3` · `cometchat-uid-4` · `cometchat-uid-5`

Expand Down
2 changes: 1 addition & 1 deletion ui-kit/android/v5/overview.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Android UI Kit"
sidebarTitle: "Overview"
description: "Prebuilt Android Views for chat, voice, and video calling. Supports Kotlin and Java with XML and Jetpack Compose compatibility."

Check warning on line 4 in ui-kit/android/v5/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/android/v5/overview.mdx#L4

Did you really mean 'Jetpack'?
---

<Note>
Expand All @@ -13,7 +13,7 @@
| Field | Value |
| --- | --- |
| Package | `com.cometchat:chat-uikit-android` v5.x |
| Peer deps | `com.cometchat:chat-sdk-android` >=4.x, `minSdk` 24 |

Check warning on line 16 in ui-kit/android/v5/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/android/v5/overview.mdx#L16

Did you really mean 'deps'?
| Calling | Optional — `com.cometchat:calls-sdk-android` |
| Localization | 19 languages built-in |
| Source | [GitHub](https://github.com/cometchat/cometchat-uikit-android) |
Expand All @@ -33,7 +33,7 @@

Use [CometChat Skills](https://github.com/cometchat/cometchat-skills) to add chat to any Android project through your AI coding agent. The skill takes an AI-first approach — your agent has a short conversation with you to understand your project and chat requirements, then writes production-grade integration code tailored to the files you already have.

Works with Claude Code, Cursor, Codex, VS Code Copilot, Windsurf, Cline, Kiro, and [30+ more agents](https://github.com/cometchat/cometchat-skills).
Works with [30+ AI coding agents](/agent-skills#supported-agents), including Claude Code, Cursor, Codex, GitHub Copilot, Windsurf, Cline, and Kiro.

Check warning on line 36 in ui-kit/android/v5/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/android/v5/overview.mdx#L36

Did you really mean 'Kiro'?

```bash
npx @cometchat/skills add
Expand All @@ -47,11 +47,11 @@
/cometchat add chat to my app
```

The skill detects your project structure, build system, and existing auth system. It onboards you to CometChat directly in the terminal — signup, login, and app creation all via the CLI. It reads your Activities, Fragments, and navigation before proposing a placement, shows the plan (which files it will create, modify, and leave untouched), and waits for your approval before writing code. Credentials are saved to `local.properties` and accessed via `BuildConfig`.

Check warning on line 50 in ui-kit/android/v5/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/android/v5/overview.mdx#L50

Did you really mean 'onboards'?

Check warning on line 50 in ui-kit/android/v5/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/android/v5/overview.mdx#L50

Did you really mean 'signup'?

After the first integration, re-run `/cometchat` anytime to pick from the iteration menu:

- **Customize look & feel** — theme presets (slack / whatsapp / imessage / discord / notion) or your own brand color

Check warning on line 54 in ui-kit/android/v5/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/android/v5/overview.mdx#L54

Did you really mean 'whatsapp'?

Check warning on line 54 in ui-kit/android/v5/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/android/v5/overview.mdx#L54

Did you really mean 'imessage'?
- **Add a feature** — 40+ features including calls, reactions, polls, AI smart replies, file sharing, presence
- **Customize a component** — custom message bubbles, headers, composer actions, empty/loading states
- **Set up production auth** — replace the dev Auth Key with a server-side token endpoint
Expand Down
2 changes: 1 addition & 1 deletion ui-kit/angular/v4/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
| Field | Value |
| --- | --- |
| Package | `@cometchat/chat-uikit-angular` |
| Peer deps | `@cometchat/uikit-elements`, `@cometchat/uikit-resources`, `@cometchat/uikit-shared` |

Check warning on line 11 in ui-kit/angular/v4/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/angular/v4/getting-started.mdx#L11

Did you really mean 'deps'?
| AI Skills | `npx @cometchat/skills add` — [GitHub](https://github.com/cometchat/cometchat-skills) |

</Accordion>
Expand Down Expand Up @@ -41,11 +41,11 @@
/cometchat add chat to my app
```

The skill detects your Angular version, router setup, and existing auth system. It onboards you to CometChat directly in the terminal — signup, login, and app creation all via the CLI. It reads your routes, modules, and components before proposing a placement (route or modal), shows the plan, and waits for your approval before writing code. Credentials are saved to `src/environments/environment.ts`.

Check warning on line 44 in ui-kit/angular/v4/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/angular/v4/getting-started.mdx#L44

Did you really mean 'onboards'?

Check warning on line 44 in ui-kit/angular/v4/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/angular/v4/getting-started.mdx#L44

Did you really mean 'signup'?

After the first integration, re-run `/cometchat` to access the iteration menu: theme presets, 40+ features, component customization, production auth, user management, and diagnostics.

Works with Claude Code, Cursor, Codex, VS Code Copilot, Windsurf, Cline, Kiro, and [30+ more agents](https://github.com/cometchat/cometchat-skills).
Works with [30+ AI coding agents](/agent-skills#supported-agents), including Claude Code, Cursor, Codex, GitHub Copilot, Windsurf, Cline, and Kiro.

Check warning on line 48 in ui-kit/angular/v4/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/angular/v4/getting-started.mdx#L48

Did you really mean 'Kiro'?

---

Expand Down Expand Up @@ -92,7 +92,7 @@
1. Open your code editor.
2. Create a new project by initializing a new Angular application.
3. Navigate to your project directory and open the project in your code editor.
4. Begin developing your Angular application in the "src" directory.

Check warning on line 95 in ui-kit/angular/v4/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/angular/v4/getting-started.mdx#L95

Did you really mean 'src'?
5. Install additional dependencies as required.

***
Expand Down Expand Up @@ -178,7 +178,7 @@
.catch(console.log);
```

> Make sure to replace the **APP\_ID** with your CometChat appId, **AUTH\_KEY** with your CometChat app auth key and **REGION** with your app region in the above code.

Check warning on line 181 in ui-kit/angular/v4/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/angular/v4/getting-started.mdx#L181

Did you really mean 'appId'?

<Note>

Expand Down Expand Up @@ -209,7 +209,7 @@
import { CometChatUIKit } from "@cometchat/chat-uikit-angular";

const UID = "UID"; // Replace with your UID
const authKey = "AUTH_KEY"; // Replace with your Auth Key

Check warning on line 212 in ui-kit/angular/v4/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/angular/v4/getting-started.mdx#L212

Did you really mean 'authKey'?

CometChatUIKit.getLoggedinUser().then((user) => {
if (!user) {
Expand Down Expand Up @@ -311,7 +311,7 @@
<Tabs>
<Tab title="JavaScript">
```js
ng serve

Check warning on line 314 in ui-kit/angular/v4/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/angular/v4/getting-started.mdx#L314

Did you really mean 'ng'?
```

</Tab>
Expand Down
2 changes: 1 addition & 1 deletion ui-kit/angular/v4/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
| Field | Value |
| --- | --- |
| Package | `@cometchat/chat-uikit-angular` |
| Peer deps | `@cometchat/uikit-elements`, `@cometchat/uikit-resources`, `@cometchat/uikit-shared` |

Check warning on line 15 in ui-kit/angular/v4/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/angular/v4/overview.mdx#L15

Did you really mean 'deps'?
| Source | [GitHub](https://github.com/cometchat-pro/cometchat-chat-sample-app-angular/tree/v4) |
| AI Skills | `npx @cometchat/skills add` — [GitHub](https://github.com/cometchat/cometchat-skills) |

Expand Down Expand Up @@ -41,7 +41,7 @@

Use [CometChat Skills](https://github.com/cometchat/cometchat-skills) to add chat to any Angular project through your AI coding agent. The skill takes an AI-first approach — your agent has a short conversation with you to understand your project and chat requirements, then writes production-grade integration code tailored to the files you already have.

Works with Claude Code, Cursor, Codex, VS Code Copilot, Windsurf, Cline, Kiro, and [30+ more agents](https://github.com/cometchat/cometchat-skills).
Works with [30+ AI coding agents](/agent-skills#supported-agents), including Claude Code, Cursor, Codex, GitHub Copilot, Windsurf, Cline, and Kiro.

Check warning on line 44 in ui-kit/angular/v4/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/angular/v4/overview.mdx#L44

Did you really mean 'Kiro'?

```bash
npx @cometchat/skills add
Expand All @@ -55,11 +55,11 @@
/cometchat add chat to my app
```

The skill detects your Angular version, router setup, and existing auth system. It onboards you to CometChat directly in the terminal — signup, login, and app creation all via the CLI. It reads your routes, modules, and components before proposing a placement (route or modal), shows the plan (which files it will create, modify, and leave untouched), and waits for your approval before writing code. Credentials are saved to `src/environments/environment.ts`.

Check warning on line 58 in ui-kit/angular/v4/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/angular/v4/overview.mdx#L58

Did you really mean 'onboards'?

Check warning on line 58 in ui-kit/angular/v4/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/angular/v4/overview.mdx#L58

Did you really mean 'signup'?

After the first integration, re-run `/cometchat` anytime to pick from the iteration menu:

- **Customize look & feel** — theme presets (slack / whatsapp / imessage / discord / notion) or your own brand color

Check warning on line 62 in ui-kit/angular/v4/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/angular/v4/overview.mdx#L62

Did you really mean 'whatsapp'?

Check warning on line 62 in ui-kit/angular/v4/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/angular/v4/overview.mdx#L62

Did you really mean 'imessage'?
- **Add a feature** — 40+ features including calls, reactions, polls, AI smart replies, file sharing, presence
- **Customize a component** — custom message bubbles, headers, composer actions, empty/loading states
- **Set up production auth** — replace the dev Auth Key with a server-side token endpoint
Expand Down
2 changes: 1 addition & 1 deletion ui-kit/flutter/v5/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@
/cometchat add chat to my app
```

The skill detects your Flutter project structure, navigation setup, and existing auth system. It onboards you to CometChat directly in the terminal — signup, login, and app creation all via the CLI. It reads your routes, screens, and widgets before proposing a placement (route, modal sheet, or tab), shows the plan, and waits for your approval before writing code. Credentials are saved as a Dart const file or via `--dart-define`.

Check warning on line 46 in ui-kit/flutter/v5/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/v5/getting-started.mdx#L46

Did you really mean 'onboards'?

Check warning on line 46 in ui-kit/flutter/v5/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/v5/getting-started.mdx#L46

Did you really mean 'signup'?

After the first integration, re-run `/cometchat` to access the iteration menu: theme presets, 40+ features, component customization, production auth, user management, and diagnostics.

Works with Claude Code, Cursor, Codex, VS Code Copilot, Windsurf, Cline, Kiro, and [30+ more agents](https://github.com/cometchat/cometchat-skills).
Works with [30+ AI coding agents](/agent-skills#supported-agents), including Claude Code, Cursor, Codex, GitHub Copilot, Windsurf, Cline, and Kiro.

Check warning on line 50 in ui-kit/flutter/v5/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/v5/getting-started.mdx#L50

Did you really mean 'Kiro'?

---

Expand Down Expand Up @@ -205,7 +205,7 @@

## Step 4 — Login

After init resolves, log the user in. For development, use one of the pre-created test UIDs:

Check warning on line 208 in ui-kit/flutter/v5/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/v5/getting-started.mdx#L208

Did you really mean 'UIDs'?

`cometchat-uid-1` · `cometchat-uid-2` · `cometchat-uid-3` · `cometchat-uid-4` · `cometchat-uid-5`

Expand Down
2 changes: 1 addition & 1 deletion ui-kit/flutter/v5/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@

Use [CometChat Skills](https://github.com/cometchat/cometchat-skills) to add chat to any Flutter project through your AI coding agent. The skill takes an AI-first approach — your agent has a short conversation with you to understand your project and chat requirements, then writes production-grade integration code tailored to the files you already have.

Works with Claude Code, Cursor, Codex, VS Code Copilot, Windsurf, Cline, Kiro, and [30+ more agents](https://github.com/cometchat/cometchat-skills).
Works with [30+ AI coding agents](/agent-skills#supported-agents), including Claude Code, Cursor, Codex, GitHub Copilot, Windsurf, Cline, and Kiro.

Check warning on line 37 in ui-kit/flutter/v5/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/v5/overview.mdx#L37

Did you really mean 'Kiro'?

```bash
npx @cometchat/skills add
Expand All @@ -48,11 +48,11 @@
/cometchat add chat to my app
```

The skill detects your Flutter project structure, navigation setup, and existing auth system. It onboards you to CometChat directly in the terminal — signup, login, and app creation all via the CLI. It reads your routes, screens, and widgets before proposing a placement (route, modal sheet, or tab), shows the plan (which files it will create, modify, and leave untouched), and waits for your approval before writing code. Credentials are saved as a Dart const file or via `--dart-define`.

Check warning on line 51 in ui-kit/flutter/v5/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/v5/overview.mdx#L51

Did you really mean 'onboards'?

Check warning on line 51 in ui-kit/flutter/v5/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/v5/overview.mdx#L51

Did you really mean 'signup'?

After the first integration, re-run `/cometchat` anytime to pick from the iteration menu:

- **Customize look & feel** — theme presets (slack / whatsapp / imessage / discord / notion) or your own brand color

Check warning on line 55 in ui-kit/flutter/v5/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/v5/overview.mdx#L55

Did you really mean 'whatsapp'?

Check warning on line 55 in ui-kit/flutter/v5/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/flutter/v5/overview.mdx#L55

Did you really mean 'imessage'?
- **Add a feature** — 40+ features including calls, reactions, polls, AI smart replies, file sharing, presence
- **Customize a component** — custom message bubbles, headers, composer actions, empty/loading states
- **Set up production auth** — replace the dev Auth Key with a server-side token endpoint
Expand Down
2 changes: 1 addition & 1 deletion ui-kit/ios/getting-started.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
| --- | --- |
| Package | `CometChatUIKitSwift` |
| Version | `5.3.0` (Swift Package Manager, Up to Next Major Version) |
| Requirements | Xcode 16+, iOS 15.1+, Swift 5.3+ |

Check warning on line 13 in ui-kit/ios/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/ios/getting-started.mdx#L13

Did you really mean 'Xcode'?
| Init | `CometChatUIKit.init(uiKitSettings:)` — must complete before `login()` |
| Login | `CometChatUIKit.login(uid:)` — must complete before rendering components |
| Order | `init()` → `login()` → render. Breaking this order = blank screen |
Expand Down Expand Up @@ -46,11 +46,11 @@
/cometchat add chat to my app
```

The skill detects your iOS project structure, navigation pattern (UIKit or SwiftUI), and existing auth system. It onboards you to CometChat directly in the terminal — signup, login, and app creation all via the CLI. It reads your view controllers, navigation, and components before proposing a placement, shows the plan, and waits for your approval before writing code. Credentials are saved via `Secrets.swift` or `.xcconfig`.

Check warning on line 49 in ui-kit/ios/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/ios/getting-started.mdx#L49

Did you really mean 'UIKit'?

Check warning on line 49 in ui-kit/ios/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/ios/getting-started.mdx#L49

Did you really mean 'onboards'?

Check warning on line 49 in ui-kit/ios/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/ios/getting-started.mdx#L49

Did you really mean 'signup'?

After the first integration, re-run `/cometchat` to access the iteration menu: theme presets, 40+ features, component customization, production auth, user management, and diagnostics.

Works with Claude Code, Cursor, Codex, VS Code Copilot, Windsurf, Cline, Kiro, and [30+ more agents](https://github.com/cometchat/cometchat-skills).
Works with [30+ AI coding agents](/agent-skills#supported-agents), including Claude Code, Cursor, Codex, GitHub Copilot, Windsurf, Cline, and Kiro.

Check warning on line 53 in ui-kit/ios/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/ios/getting-started.mdx#L53

Did you really mean 'Kiro'?

---

Expand All @@ -65,9 +65,9 @@
| Region | Dashboard → Your App → Credentials (e.g. `us`, `eu`, `in`) |

You also need:
- Xcode 16 or later

Check warning on line 68 in ui-kit/ios/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/ios/getting-started.mdx#L68

Did you really mean 'Xcode'?
- iOS device or simulator running iOS 15.1+
- Swift 5.3+ (Xcode 16 ships Swift 6, which satisfies this)

Check warning on line 70 in ui-kit/ios/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/ios/getting-started.mdx#L70

Did you really mean 'Xcode'?
- macOS

<Warning>
Expand All @@ -78,7 +78,7 @@

## Step 1 — Create an iOS Project

Open Xcode and create a new project:

Check warning on line 81 in ui-kit/ios/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/ios/getting-started.mdx#L81

Did you really mean 'Xcode'?

1. Select **iOS App** in the template picker and click Next
2. Enter your project name and bundle identifier
Expand Down Expand Up @@ -139,12 +139,12 @@
<img src="/images/e736dfc8-app_permissions-6c9e93e30fb31f4e1427f6b72f94a58b.png" />
</Frame>

Also disable **User Script Sandboxing** in Build Settings to ensure WebView can load scripts for collaborative tools:

Check warning on line 142 in ui-kit/ios/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/ios/getting-started.mdx#L142

Did you really mean 'Sandboxing'?

1. Select your project in the Navigator
2. Select your app target
3. Go to **Build Settings** tab
4. Search for "User Script Sandboxing"

Check warning on line 147 in ui-kit/ios/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/ios/getting-started.mdx#L147

Did you really mean 'Sandboxing'?
5. Set it to **No**

<Frame>
Expand Down Expand Up @@ -218,7 +218,7 @@
}
```

For development, use one of the pre-created test UIDs:

Check warning on line 221 in ui-kit/ios/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/ios/getting-started.mdx#L221

Did you really mean 'UIDs'?

`cometchat-uid-1` · `cometchat-uid-2` · `cometchat-uid-3` · `cometchat-uid-4` · `cometchat-uid-5`

Expand Down Expand Up @@ -255,7 +255,7 @@

### Conversation List + Message View

Two-panel layout — conversation list with push navigation to messages. Think iMessage or WhatsApp.

Check warning on line 258 in ui-kit/ios/getting-started.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/ios/getting-started.mdx#L258

Did you really mean 'iMessage'?

- Push-based navigation between conversations and messages
- Supports one-to-one and group chats
Expand Down
2 changes: 1 addition & 1 deletion ui-kit/ios/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@

Use [CometChat Skills](https://github.com/cometchat/cometchat-skills) to add chat to any iOS project through your AI coding agent. The skill takes an AI-first approach — your agent has a short conversation with you to understand your project and chat requirements, then writes production-grade integration code tailored to the files you already have.

Works with Claude Code, Cursor, Codex, VS Code Copilot, Windsurf, Cline, Kiro, and [30+ more agents](https://github.com/cometchat/cometchat-skills).
Works with [30+ AI coding agents](/agent-skills#supported-agents), including Claude Code, Cursor, Codex, GitHub Copilot, Windsurf, Cline, and Kiro.

Check warning on line 60 in ui-kit/ios/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/ios/overview.mdx#L60

Did you really mean 'Kiro'?

```bash
npx @cometchat/skills add
Expand All @@ -71,11 +71,11 @@
/cometchat add chat to my app
```

The skill detects your iOS project structure, navigation pattern, and existing auth system. It onboards you to CometChat directly in the terminal — signup, login, and app creation all via the CLI. It reads your view controllers, navigation, and components before proposing a placement, shows the plan (which files it will create, modify, and leave untouched), and waits for your approval before writing code. Credentials are saved via `Secrets.swift` or `.xcconfig`.

Check warning on line 74 in ui-kit/ios/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/ios/overview.mdx#L74

Did you really mean 'onboards'?

Check warning on line 74 in ui-kit/ios/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/ios/overview.mdx#L74

Did you really mean 'signup'?

After the first integration, re-run `/cometchat` anytime to pick from the iteration menu:

- **Customize look & feel** — theme presets (slack / whatsapp / imessage / discord / notion) or your own brand color

Check warning on line 78 in ui-kit/ios/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/ios/overview.mdx#L78

Did you really mean 'whatsapp'?

Check warning on line 78 in ui-kit/ios/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/ios/overview.mdx#L78

Did you really mean 'imessage'?
- **Add a feature** — 40+ features including calls, reactions, polls, AI smart replies, file sharing, presence
- **Customize a component** — custom message bubbles, headers, composer actions, empty/loading states
- **Set up production auth** — replace the dev Auth Key with a server-side token endpoint
Expand Down
2 changes: 1 addition & 1 deletion ui-kit/react-native/expo-integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
| Field | Value |
| --- | --- |
| Package | `@cometchat/chat-uikit-react-native` |
| Peer deps | `expo` SDK 50+, `@cometchat/chat-sdk-react-native` |

Check warning on line 12 in ui-kit/react-native/expo-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/expo-integration.mdx#L12

Did you really mean 'deps'?
| Init | `CometChatUIKit.init(UIKitSettings)` — must resolve before `login()` |
| Login | `CometChatUIKit.login({ uid })` — must resolve before rendering components |
| Order | `init()` → `login()` → render. Breaking this order = blank screen |
Expand Down Expand Up @@ -44,11 +44,11 @@
/cometchat add chat to my app
```

The skill detects your Expo setup (managed workflow + Expo Router), env prefix (`EXPO_PUBLIC_`), and existing auth system. It onboards you to CometChat directly in the terminal — signup, login, and app creation all via the CLI. It reads your screens, nav, and components before proposing a placement, shows the plan, and waits for your approval before writing code.

Check warning on line 47 in ui-kit/react-native/expo-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/expo-integration.mdx#L47

Did you really mean 'onboards'?

Check warning on line 47 in ui-kit/react-native/expo-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/expo-integration.mdx#L47

Did you really mean 'signup'?

After the first integration, re-run `/cometchat` to access the iteration menu: theme presets, 40+ features, component customization, push notifications, production auth, user management, and diagnostics.

Works with Claude Code, Cursor, Codex, VS Code Copilot, Windsurf, Cline, Kiro, and [30+ more agents](https://github.com/cometchat/cometchat-skills).
Works with [30+ AI coding agents](/agent-skills#supported-agents), including Claude Code, Cursor, Codex, GitHub Copilot, Windsurf, Cline, and Kiro.

Check warning on line 51 in ui-kit/react-native/expo-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/expo-integration.mdx#L51

Did you really mean 'Kiro'?

---

Expand All @@ -64,7 +64,7 @@

You also need:
- Node.js 22.13+ (or 24.3+) and npm/yarn installed (the minimum the current Expo SDK, 58, requires)
- Xcode (for iOS) and Android Studio (for Android) for development builds

Check warning on line 67 in ui-kit/react-native/expo-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/expo-integration.mdx#L67

Did you really mean 'Xcode'?

<Warning>
Auth Key is for development only. In production, generate Auth Tokens server-side via the [REST API](/rest-api/chat-apis) and use [`loginWithAuthToken()`](/ui-kit/react-native/methods#how-to-login-a-user-with-auth-token). Never ship Auth Keys in client code.
Expand Down Expand Up @@ -241,7 +241,7 @@

## Step 4 — Login

After init resolves, log the user in. For development, use one of the pre-created test UIDs:

Check warning on line 244 in ui-kit/react-native/expo-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/expo-integration.mdx#L244

Did you really mean 'UIDs'?

`cometchat-uid-1` · `cometchat-uid-2` · `cometchat-uid-3` · `cometchat-uid-4` · `cometchat-uid-5`

Expand Down Expand Up @@ -333,12 +333,12 @@
<Tabs>
<Tab title="iOS">
```bash
npx expo run:ios

Check warning on line 336 in ui-kit/react-native/expo-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/expo-integration.mdx#L336

Did you really mean 'npx'?
```
</Tab>
<Tab title="Android">
```bash
npx expo run:android

Check warning on line 341 in ui-kit/react-native/expo-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/expo-integration.mdx#L341

Did you really mean 'npx'?
```
</Tab>
</Tabs>
Expand Down
2 changes: 1 addition & 1 deletion ui-kit/react-native/overview.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
| Field | Value |
| --- | --- |
| Package | `@cometchat/chat-uikit-react-native` v5.x |
| Peer deps | `@cometchat/chat-sdk-react-native`, `@react-native-clipboard/clipboard`, `react-native-gesture-handler`, `react-native-svg`, `react-native-video`, `react-native-localize`, `react-native-safe-area-context`. Built and tested with React Native 0.77 and later |

Check warning on line 12 in ui-kit/react-native/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/overview.mdx#L12

Did you really mean 'deps'?
| Calling | Optional — `@cometchat/calls-sdk-react-native` |
| Localization | Built-in localization support |
| Source | [GitHub](https://github.com/cometchat/cometchat-uikit-react-native/tree/v5) |
Expand Down Expand Up @@ -37,7 +37,7 @@

Use [CometChat Skills](https://github.com/cometchat/cometchat-skills) to add chat to any React Native project through your AI coding agent. The skill takes an AI-first approach — your agent has a short conversation with you to understand your project and chat requirements, then writes production-grade integration code tailored to the files you already have.

Works with Claude Code, Cursor, Codex, VS Code Copilot, Windsurf, Cline, Kiro, and [30+ more agents](https://github.com/cometchat/cometchat-skills).
Works with [30+ AI coding agents](/agent-skills#supported-agents), including Claude Code, Cursor, Codex, GitHub Copilot, Windsurf, Cline, and Kiro.

Check warning on line 40 in ui-kit/react-native/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/overview.mdx#L40

Did you really mean 'Kiro'?

```bash
npx @cometchat/skills add
Expand All @@ -51,17 +51,17 @@
/cometchat add chat to my app
```

The skill detects your framework (Expo or bare React Native), navigation setup, and existing auth system. It onboards you to CometChat directly in the terminal — signup, login, and app creation all via the CLI. It reads your screens, nav, and components before proposing a placement (stack, tab, modal, or bottom sheet), shows the plan (which files it will create, modify, and leave untouched), and waits for your approval before writing code.

Check warning on line 54 in ui-kit/react-native/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/overview.mdx#L54

Did you really mean 'onboards'?

Check warning on line 54 in ui-kit/react-native/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/overview.mdx#L54

Did you really mean 'signup'?

After the first integration, re-run `/cometchat` anytime to pick from the iteration menu:

- **Customize look & feel** — theme presets (slack / whatsapp / imessage / discord / notion) or your own brand color

Check warning on line 58 in ui-kit/react-native/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/overview.mdx#L58

Did you really mean 'whatsapp'?

Check warning on line 58 in ui-kit/react-native/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/overview.mdx#L58

Did you really mean 'imessage'?
- **Add a feature** — 40+ features including calls, reactions, polls, AI smart replies, file sharing, presence
- **Customize a component** — custom message bubbles, headers, composer actions, empty/loading states
- **Add another placement** — modal / bottom sheet / extra tab
- **Set up production auth** — replace the dev Auth Key with a server-side token endpoint
- **Set up user management** — server endpoints for creating/updating/deleting CometChat users
- **Set up push notifications** — APNs + FCM end-to-end

Check warning on line 64 in ui-kit/react-native/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/overview.mdx#L64

Did you really mean 'APNs'?
- **Run diagnostics** — verify, drift detection, symptom-to-cause lookup

---
Expand Down
2 changes: 1 addition & 1 deletion ui-kit/react-native/react-native-cli-integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
| Field | Value |
| --- | --- |
| Package | `@cometchat/chat-uikit-react-native` |
| Peer deps | `react-native` >=0.77.0, `@cometchat/chat-sdk-react-native` |

Check warning on line 12 in ui-kit/react-native/react-native-cli-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/react-native-cli-integration.mdx#L12

Did you really mean 'deps'?
| Init | `CometChatUIKit.init(UIKitSettings)` — must resolve before `login()` |
| Login | `CometChatUIKit.login({ uid })` — must resolve before rendering components |
| Order | `init()` → `login()` → render. Breaking this order = blank screen |
Expand Down Expand Up @@ -40,11 +40,11 @@
/cometchat add chat to my app
```

The skill detects your React Native setup, navigation library, and existing auth system. It onboards you to CometChat directly in the terminal — signup, login, and app creation all via the CLI. It reads your screens, nav, and components before proposing a placement (stack, tab, modal, or bottom sheet), shows the plan, and waits for your approval before writing code.

Check warning on line 43 in ui-kit/react-native/react-native-cli-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/react-native-cli-integration.mdx#L43

Did you really mean 'onboards'?

Check warning on line 43 in ui-kit/react-native/react-native-cli-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/react-native-cli-integration.mdx#L43

Did you really mean 'signup'?

After the first integration, re-run `/cometchat` to access the iteration menu: theme presets, 40+ features, component customization, push notifications, production auth, user management, and diagnostics.

Works with Claude Code, Cursor, Codex, VS Code Copilot, Windsurf, Cline, Kiro, and [30+ more agents](https://github.com/cometchat/cometchat-skills).
Works with [30+ AI coding agents](/agent-skills#supported-agents), including Claude Code, Cursor, Codex, GitHub Copilot, Windsurf, Cline, and Kiro.

Check warning on line 47 in ui-kit/react-native/react-native-cli-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/react-native-cli-integration.mdx#L47

Did you really mean 'Kiro'?

---

Expand All @@ -61,7 +61,7 @@
You also need:
- Node.js 22.13+ (or 24.3+) and npm/yarn installed — the Node.js minimum for React Native 0.88, the current release that `npx @react-native-community/cli init` creates
- React Native development environment set up ([React Native CLI Quickstart](https://reactnative.dev/docs/environment-setup))
- Xcode (for iOS) and Android Studio (for Android)

Check warning on line 64 in ui-kit/react-native/react-native-cli-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/react-native-cli-integration.mdx#L64

Did you really mean 'Xcode'?

<Warning>
Auth Key is for development only. In production, generate Auth Tokens server-side via the [REST API](/rest-api/chat-apis) and use [`loginWithAuthToken()`](/ui-kit/react-native/methods#how-to-login-a-user-with-auth-token). Never ship Auth Keys in client code.
Expand Down Expand Up @@ -116,10 +116,10 @@
The UI Kit declares `READ_EXTERNAL_STORAGE` and `WRITE_EXTERNAL_STORAGE` in its own Android manifest, so you do not need to add them yourself.

<Warning>
**`compileSdkVersion` 35 or later is required from UI Kit 5.6.0.** The UI Kit's Android module plays voice notes with `androidx.media3` 1.8.0, which needs `compileSdkVersion` 35. This applies whether or not you turn offline support on. If your app must stay on 34, pin an older media3 release with `RNVideo_media3Version = "1.4.1"` in the `ext` block of your project-level `android/build.gradle`. See [Android: compileSdk and media3](/ui-kit/react-native/offline-support#android-compilesdk-and-media3).

Check warning on line 119 in ui-kit/react-native/react-native-cli-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/react-native-cli-integration.mdx#L119

Did you really mean 'compileSdk'?
</Warning>

### iOS: Add Modular Headers to the Podfile

Check warning on line 122 in ui-kit/react-native/react-native-cli-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/react-native-cli-integration.mdx#L122

Did you really mean 'Podfile'?

<Warning>
**Required before `pod install`.** The UI Kit is a Swift pod that depends on `SPTPersistentCache` and `DVAssetLoaderDelegate`, neither of which defines a module. On a static-library build — the React Native default — `pod install` fails with:
Expand Down Expand Up @@ -257,7 +257,7 @@

## Step 4 — Login

After init resolves, log the user in. For development, use one of the pre-created test UIDs:

Check warning on line 260 in ui-kit/react-native/react-native-cli-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react-native/react-native-cli-integration.mdx#L260

Did you really mean 'UIDs'?

`cometchat-uid-1` · `cometchat-uid-2` · `cometchat-uid-3` · `cometchat-uid-4` · `cometchat-uid-5`

Expand Down
2 changes: 1 addition & 1 deletion ui-kit/react/v6/astro-integration.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "Astro Integration"

Check warning on line 2 in ui-kit/react/v6/astro-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/astro-integration.mdx#L2

Did you really mean 'Astro'?
sidebarTitle: "Integration"
description: "Integrate CometChat React UI Kit with Astro using client-only rendering, app credentials, package setup, initialization, and login."

Check warning on line 4 in ui-kit/react/v6/astro-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/astro-integration.mdx#L4

Did you really mean 'Astro'?
---

<Accordion title="AI Integration Quick Reference">
Expand All @@ -9,12 +9,12 @@
| Field | Value |
| --- | --- |
| Package | `@cometchat/chat-uikit-react` |
| Peer deps | `react` >=18, `react-dom` >=18, `@astrojs/react` |

Check warning on line 12 in ui-kit/react/v6/astro-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/astro-integration.mdx#L12

Did you really mean 'deps'?
| Init | `CometChatUIKit.init(UIKitSettings)` — must resolve before `login()` |
| Login | `CometChatUIKit.login("UID")` — must resolve before rendering components |
| Order | `init()` → `login()` → render. Breaking this order = blank screen |
| Auth Key | Dev/testing only. Use Auth Token in production |
| SSR | CometChat requires browser APIs — use `client:only="react"` directive on Astro islands |

Check warning on line 17 in ui-kit/react/v6/astro-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/astro-integration.mdx#L17

Did you really mean 'Astro'?
| CSS | `import "@cometchat/chat-uikit-react/css-variables.css"` in your React island |
| Calling | Optional. Install `@cometchat/calls-sdk-javascript` to enable |
| Other frameworks | [React.js](/ui-kit/react/v6/react-js-integration) · [Next.js](/ui-kit/react/v6/next-js-integration) · [React Router](/ui-kit/react/v6/react-router-integration) |
Expand All @@ -22,10 +22,10 @@

</Accordion>

This guide walks you through adding CometChat to an Astro app using React islands. By the end you'll have a working chat UI.

Check warning on line 25 in ui-kit/react/v6/astro-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/astro-integration.mdx#L25

Did you really mean 'Astro'?

<Warning>
CometChat UI Kit requires browser APIs (`window`, `WebSocket`, `document`). In Astro, always load CometChat components using the `client:only="react"` directive so they only render client-side.

Check warning on line 28 in ui-kit/react/v6/astro-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/astro-integration.mdx#L28

Did you really mean 'Astro'?
</Warning>

---
Expand All @@ -46,11 +46,11 @@
/cometchat add chat to my app
```

The skill detects Astro, verifies `@astrojs/react` is configured, and reads your routes, nav, and components before proposing a placement. It onboards you to CometChat directly in the terminal — signup, login, and app creation all via the CLI. It shows the plan and waits for your approval before writing code.

Check warning on line 49 in ui-kit/react/v6/astro-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/astro-integration.mdx#L49

Did you really mean 'Astro'?

Check warning on line 49 in ui-kit/react/v6/astro-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/astro-integration.mdx#L49

Did you really mean 'onboards'?

Check warning on line 49 in ui-kit/react/v6/astro-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/astro-integration.mdx#L49

Did you really mean 'signup'?

After the first integration, re-run `/cometchat` to access the iteration menu: theme presets, 40+ features, component customization, floating widget, production auth, user management, and diagnostics.

Works with Claude Code, Cursor, Codex, VS Code Copilot, Windsurf, Cline, Kiro, and [30+ more agents](https://github.com/cometchat/cometchat-skills).
Works with [30+ AI coding agents](/agent-skills#supported-agents), including Claude Code, Cursor, Codex, GitHub Copilot, Windsurf, Cline, and Kiro.

Check warning on line 53 in ui-kit/react/v6/astro-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/astro-integration.mdx#L53

Did you really mean 'Kiro'?

---

Expand All @@ -72,7 +72,7 @@

---

## Step 1 — Create an Astro Project

Check warning on line 75 in ui-kit/react/v6/astro-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/astro-integration.mdx#L75

Did you really mean 'Astro'?

<Tabs>
<Tab title="npm">
Expand All @@ -89,7 +89,7 @@
</Tab>
<Tab title="yarn">
```bash lines
yarn create astro my-app

Check warning on line 92 in ui-kit/react/v6/astro-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/astro-integration.mdx#L92

Did you really mean 'astro'?
cd my-app
```
</Tab>
Expand All @@ -99,7 +99,7 @@

## Step 2 — Add React and Install the UI Kit

First, add the React integration to Astro:

Check warning on line 102 in ui-kit/react/v6/astro-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/astro-integration.mdx#L102

Did you really mean 'Astro'?

```bash lines
npx astro add react
Expand Down Expand Up @@ -143,7 +143,7 @@

## Step 3 — Initialize CometChat

In Astro, CometChat init and login happen inside your React island component (since they need browser APIs). Here's the pattern:

Check warning on line 146 in ui-kit/react/v6/astro-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/astro-integration.mdx#L146

Did you really mean 'Astro'?

```tsx lines highlight={7-9}
import { CometChatUIKit, UIKitSettingsBuilder } from "@cometchat/chat-uikit-react";
Expand Down Expand Up @@ -234,7 +234,7 @@
}
```

Without the CSS import, components will render with broken or missing styles. Without the height rules, the chat UI won't fill the viewport.

Check warning on line 237 in ui-kit/react/v6/astro-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/astro-integration.mdx#L237

Did you really mean 'viewport'?

---

Expand Down
2 changes: 1 addition & 1 deletion ui-kit/react/v6/next-js-integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
| Field | Value |
| --- | --- |
| Package | `@cometchat/chat-uikit-react` |
| Peer deps | `react` >=18, `react-dom` >=18, `rxjs` ^7.8.1 |

Check warning on line 12 in ui-kit/react/v6/next-js-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/next-js-integration.mdx#L12

Did you really mean 'deps'?
| Init | `CometChatUIKit.init(UIKitSettings)` — must resolve before `login()` |
| Login | `CometChatUIKit.login("UID")` — must resolve before rendering components |
| Order | `init()` → `login()` → render. Breaking this order = blank screen |
| Auth Key | Dev/testing only. Use Auth Token in production |
| SSR | CometChat requires browser APIs — use dynamic import with `ssr: false` |

Check warning on line 17 in ui-kit/react/v6/next-js-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/next-js-integration.mdx#L17

Did you really mean 'ssr'?
| CSS | `@import url("@cometchat/chat-uikit-react/css-variables.css");` in global CSS |
| Calling | Optional. Install `@cometchat/calls-sdk-javascript` to enable |
| Other frameworks | [React.js](/ui-kit/react/v6/react-js-integration) · [React Router](/ui-kit/react/v6/react-router-integration) · [Astro](/ui-kit/react/v6/astro-integration) |
Expand Down Expand Up @@ -50,11 +50,11 @@
/cometchat add chat to my app
```

The skill detects your Next.js version and router type (App Router vs Pages Router), env prefix, and existing auth system. It onboards you to CometChat directly in the terminal — signup, login, and app creation all via the CLI. It reads your routes, nav, and components before proposing a placement, shows the plan, and waits for your approval before writing code.

Check warning on line 53 in ui-kit/react/v6/next-js-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/next-js-integration.mdx#L53

Did you really mean 'onboards'?

Check warning on line 53 in ui-kit/react/v6/next-js-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/next-js-integration.mdx#L53

Did you really mean 'signup'?

After the first integration, re-run `/cometchat` to access the iteration menu: theme presets, 40+ features, component customization, floating widget, production auth, user management, and diagnostics.

Works with Claude Code, Cursor, Codex, VS Code Copilot, Windsurf, Cline, Kiro, and [30+ more agents](https://github.com/cometchat/cometchat-skills).
Works with [30+ AI coding agents](/agent-skills#supported-agents), including Claude Code, Cursor, Codex, GitHub Copilot, Windsurf, Cline, and Kiro.

Check warning on line 57 in ui-kit/react/v6/next-js-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/next-js-integration.mdx#L57

Did you really mean 'Kiro'?

---

Expand Down Expand Up @@ -182,7 +182,7 @@

## Step 4 — Login

After init resolves, log the user in. For development, use one of the pre-created test UIDs:

Check warning on line 185 in ui-kit/react/v6/next-js-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/next-js-integration.mdx#L185

Did you really mean 'UIDs'?

`cometchat-uid-1` · `cometchat-uid-2` · `cometchat-uid-3` · `cometchat-uid-4` · `cometchat-uid-5`

Expand Down Expand Up @@ -261,7 +261,7 @@
}
```

Without the CSS import, components will render with broken or missing styles. Without the height rules, the chat UI won't fill the viewport.

Check warning on line 264 in ui-kit/react/v6/next-js-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/next-js-integration.mdx#L264

Did you really mean 'viewport'?

---

Expand Down
6 changes: 3 additions & 3 deletions ui-kit/react/v6/overview.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
title: "React UI Kit"
sidebarTitle: "Overview"
description: "Prebuilt React components for chat, voice, and video calling. Supports React.js, Next.js, React Router, and Astro."

Check warning on line 4 in ui-kit/react/v6/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/overview.mdx#L4

Did you really mean 'Astro'?
---

<Note>
Expand All @@ -13,7 +13,7 @@
| Field | Value |
| --- | --- |
| Package | `@cometchat/chat-uikit-react` v6.3.x |
| Peer deps | `react` >=18, `react-dom` >=18, `rxjs` ^7.8.1 |

Check warning on line 16 in ui-kit/react/v6/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/overview.mdx#L16

Did you really mean 'deps'?
| Calling | Optional — `@cometchat/calls-sdk-javascript` |
| SSR | Client-side only. Use `ssr: false` or `client:only="react"` |
| Localization | 19 languages built-in |
Expand All @@ -32,9 +32,9 @@

## Integrate with AI Coding Agents

Use [CometChat Skills](https://github.com/cometchat/cometchat-skills) to add chat to any React project through your AI coding agent. The skill takes an AI-first approach — your agent has a short conversation with you to understand your project and chat requirements, then writes production-grade integration code tailored to the files you already have. One slash — `/cometchat` — works for React, Next.js, React Router, Astro, Expo, bare React Native, Angular, Android, Flutter, and iOS.

Check warning on line 35 in ui-kit/react/v6/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/overview.mdx#L35

Did you really mean 'Astro'?

Works with Claude Code, Cursor, Codex, VS Code Copilot, Windsurf, Cline, Kiro, and [30+ more agents](https://github.com/cometchat/cometchat-skills).
Works with [30+ AI coding agents](/agent-skills#supported-agents), including Claude Code, Cursor, Codex, GitHub Copilot, Windsurf, Cline, and Kiro.

Check warning on line 37 in ui-kit/react/v6/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/overview.mdx#L37

Did you really mean 'Kiro'?

```bash
npx @cometchat/skills add
Expand All @@ -48,11 +48,11 @@
/cometchat add chat to my app
```

The skill detects your framework, router, env prefix, and existing auth system. It onboards you to CometChat directly in the terminal — signup, login, and app creation all via the CLI with no browser round-trip. It reads your routes, nav, and components before proposing a placement, shows the plan (which files it will create, modify, and leave untouched), and waits for your approval before writing code.

Check warning on line 51 in ui-kit/react/v6/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/overview.mdx#L51

Did you really mean 'onboards'?

Check warning on line 51 in ui-kit/react/v6/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/overview.mdx#L51

Did you really mean 'signup'?

After the first integration, re-run `/cometchat` anytime to pick from the iteration menu:

- **Customize look & feel** — theme presets (slack / whatsapp / imessage / discord / notion) or your own brand color

Check warning on line 55 in ui-kit/react/v6/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/overview.mdx#L55

Did you really mean 'whatsapp'?

Check warning on line 55 in ui-kit/react/v6/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/overview.mdx#L55

Did you really mean 'imessage'?
- **Add a feature** — 40+ features including calls, reactions, polls, AI smart replies, file sharing, presence
- **Customize a component** — custom message bubbles, headers, composer actions, empty/loading states
- **Add a floating widget** — overlay chat button + drawer on top of your existing app
Expand Down Expand Up @@ -87,8 +87,8 @@
<Card title="CometChat Skills" icon="wand-magic-sparkles" href="https://github.com/cometchat/cometchat-skills">
AI-first integration for any React project
</Card>
<Card title="Supported IDEs" icon="robot">
Claude Code · Cursor · Kiro · VS Code Copilot · Windsurf · Cline
<Card title="Supported agents" icon="robot" href="/agent-skills#supported-agents">
30+ agents, including Claude Code · Cursor · Codex · GitHub Copilot · Windsurf · Cline · Kiro

Check warning on line 91 in ui-kit/react/v6/overview.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/overview.mdx#L91

Did you really mean 'Kiro'?
</Card>
</CardGroup>

Expand Down
2 changes: 1 addition & 1 deletion ui-kit/react/v6/react-js-integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
| Field | Value |
| --- | --- |
| Package | `@cometchat/chat-uikit-react` |
| Peer deps | `react` >=18, `react-dom` >=18, `rxjs` ^7.8.1 |

Check warning on line 12 in ui-kit/react/v6/react-js-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/react-js-integration.mdx#L12

Did you really mean 'deps'?
| Init | `CometChatUIKit.init(UIKitSettings)` — must resolve before `login()` |
| Login | `CometChatUIKit.login("UID")` — must resolve before rendering components |
| Order | `init()` → `login()` → render. Breaking this order = blank screen |
Expand Down Expand Up @@ -45,11 +45,11 @@
/cometchat add chat to my app
```

The skill detects your bundler (Vite or CRA), env prefix (`VITE_` or `REACT_APP_`), router, and existing auth system. It onboards you to CometChat directly in the terminal — signup, login, and app creation all via the CLI. It reads your routes, nav, and components before proposing a placement, shows the plan, and waits for your approval before writing code.

Check warning on line 48 in ui-kit/react/v6/react-js-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/react-js-integration.mdx#L48

Did you really mean 'bundler'?

Check warning on line 48 in ui-kit/react/v6/react-js-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/react-js-integration.mdx#L48

Did you really mean 'onboards'?

Check warning on line 48 in ui-kit/react/v6/react-js-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/react-js-integration.mdx#L48

Did you really mean 'signup'?

After the first integration, re-run `/cometchat` to access the iteration menu: theme presets, 40+ features, component customization, floating widget, production auth, user management, and diagnostics.

Works with Claude Code, Cursor, Codex, VS Code Copilot, Windsurf, Cline, Kiro, and [30+ more agents](https://github.com/cometchat/cometchat-skills).
Works with [30+ AI coding agents](/agent-skills#supported-agents), including Claude Code, Cursor, Codex, GitHub Copilot, Windsurf, Cline, and Kiro.

Check warning on line 52 in ui-kit/react/v6/react-js-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/react-js-integration.mdx#L52

Did you really mean 'Kiro'?

---

Expand Down Expand Up @@ -82,7 +82,7 @@
</Tab>
<Tab title="Create React App">
```bash lines
npx create-react-app my-app --template typescript

Check warning on line 85 in ui-kit/react/v6/react-js-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/react-js-integration.mdx#L85

Did you really mean 'npx'?
cd my-app
```
</Tab>
Expand Down Expand Up @@ -200,7 +200,7 @@

## Step 4 — Login

After init resolves, log the user in. For development, use one of the pre-created test UIDs:

Check warning on line 203 in ui-kit/react/v6/react-js-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/react-js-integration.mdx#L203

Did you really mean 'UIDs'?

`cometchat-uid-1` · `cometchat-uid-2` · `cometchat-uid-3` · `cometchat-uid-4` · `cometchat-uid-5`

Expand Down Expand Up @@ -357,7 +357,7 @@

## iFrame Embedding

If your React app runs inside an `<iframe>`, wrap your tree in `CometChatFrameProvider` so dialogs and portals mount in the correct frame:

Check warning on line 360 in ui-kit/react/v6/react-js-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/react-js-integration.mdx#L360

Did you really mean 'dialogs'?

```jsx lines
import { CometChatFrameProvider } from "@cometchat/chat-uikit-react";
Expand Down
2 changes: 1 addition & 1 deletion ui-kit/react/v6/react-router-integration.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
| Field | Value |
| --- | --- |
| Package | `@cometchat/chat-uikit-react` |
| Peer deps | `react` >=18, `react-dom` >=18, `rxjs` ^7.8.1 |

Check warning on line 12 in ui-kit/react/v6/react-router-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/react-router-integration.mdx#L12

Did you really mean 'deps'?
| Init | `CometChatUIKit.init(UIKitSettings)` — must resolve before `login()` |
| Login | `CometChatUIKit.login("UID")` — must resolve before rendering components |
| Order | `init()` → `login()` → render. Breaking this order = blank screen |
Expand Down Expand Up @@ -46,11 +46,11 @@
/cometchat add chat to my app
```

The skill detects your React Router version (v6 or v7), env prefix, router setup, and existing auth system. It onboards you to CometChat directly in the terminal — signup, login, and app creation all via the CLI. It reads your routes, nav, and components before proposing a placement, shows the plan, and waits for your approval before writing code.

Check warning on line 49 in ui-kit/react/v6/react-router-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/react-router-integration.mdx#L49

Did you really mean 'onboards'?

Check warning on line 49 in ui-kit/react/v6/react-router-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/react-router-integration.mdx#L49

Did you really mean 'signup'?

After the first integration, re-run `/cometchat` to access the iteration menu: theme presets, 40+ features, component customization, floating widget, production auth, user management, and diagnostics.

Works with Claude Code, Cursor, Codex, VS Code Copilot, Windsurf, Cline, Kiro, and [30+ more agents](https://github.com/cometchat/cometchat-skills).
Works with [30+ AI coding agents](/agent-skills#supported-agents), including Claude Code, Cursor, Codex, GitHub Copilot, Windsurf, Cline, and Kiro.

Check warning on line 53 in ui-kit/react/v6/react-router-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/react-router-integration.mdx#L53

Did you really mean 'Kiro'?

---

Expand Down Expand Up @@ -177,7 +177,7 @@

## Step 4 — Login

After init resolves, log the user in. For development, use one of the pre-created test UIDs:

Check warning on line 180 in ui-kit/react/v6/react-router-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/react-router-integration.mdx#L180

Did you really mean 'UIDs'?

`cometchat-uid-1` · `cometchat-uid-2` · `cometchat-uid-3` · `cometchat-uid-4` · `cometchat-uid-5`

Expand Down Expand Up @@ -250,7 +250,7 @@
}
```

Without the CSS import, components will render with broken or missing styles. Without the height rules, the chat UI won't fill the viewport.

Check warning on line 253 in ui-kit/react/v6/react-router-integration.mdx

View check run for this annotation

Mintlify / Mintlify Validation (cometchat-22654f5b) - vale-spellcheck

ui-kit/react/v6/react-router-integration.mdx#L253

Did you really mean 'viewport'?

---

Expand Down