> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cookiechimp.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Consent SDK

> CookieChimp consent for React, Next.js and plain JavaScript.

Open-source, lightweight consent SDK for React, Next.js and plain JavaScript,
built by CookieChimp. MIT licensed.

* **Local mode, no account.** Consent lives in a first-party `cc_consent`
  cookie. Your code owns the config.
* **Connected mode.** Pass a CookieChimp `projectId` to sync the consent log,
  scanner categories, dashboard copy, translations, regional rules and
  styling. Your code config stays as the fallback.
* **No banner flash.** The Next.js providers read the consent cookie on the
  server, so the first HTML already matches the visitor's choice.
* **Blocks before consent.** Script and iframe gating, runtime blocking, a
  network blocker, Google Consent Mode v2 and presets for common vendors.
* **IAB GPP (US) and TCF (EU)**, both opt-in and lazy.
* **Small.** Size budgets are enforced in CI ([docs/size.md](https://github.com/cookiechimp/cookiechimp-sdk/blob/main/docs/size.md)).

The SDK never looks up a visitor's location. It makes no geo-IP or external
location request. Applications pass trusted region context, for example from
their hosting platform's headers.

## Where to start

* [Getting started](/docs/sdk/getting-started): install and show a banner.
* [Next.js](/docs/sdk/nextjs) or the [core and React reference](/docs/sdk/reference).
* [Examples](/docs/sdk/examples) you can run.
* [AI skills](/docs/sdk/ai-skills) for coding agents and the
  [documentation index](https://docs.cookiechimp.com/docs/llms.txt).

Status: pre-release. See [deployment and release status](/docs/sdk/release-status) before
installing from npm or using connected mode in production.
