Documentation
Pick your framework to install the CookieYes cookie consent SDK. React, Next.js and a framework-free JavaScript core, with the same consent engine underneath.
The CookieYes SDK is open source and runs in your frontend. Each framework has its own guide, from installation to every component and hook. Pick the one your app uses:
Next.js
App Router or Pages Router. The banner is rendered on the server, so returning visitors never see it flash.
React
Any React 18+ app: Vite, Create React App, Remix or your own setup.
JavaScript (core)
The framework-free consent engine, for vanilla JavaScript or another framework.
Not sure where to start? Run npx @cookieyes/cli init in your project: it detects Next.js or React and writes the setup for you.