Cookie consent for Next.js
EU-ready cookie consent: "Reject all" is as easy as "Accept all", and nothing optional loads before a choice.
How to add a cookie consent to your Next.js app
- 1. Add it with one command in your project folder. The first time, the CLI asks for your license key.
npx venturi-dev add cookie-consent - 2. Or ask your AI tool. With Venturi Pro, the MCP agent works in Claude Code, Cursor, Codex and Gemini CLI. Try: “Add a cookie consent to my landing page with Venturi.”
- 3. Make it yours. It takes your colors and fonts from your design tokens, works in light and dark mode, and the code is yours to edit.
Variants
- Bar
- Modal
- Preferences center
Details
Built with
Next.js, React, TypeScript and Tailwind CSS · npm: cn, lucide-react
Included in
Venturi Code Pro and Basic (no longer sold; existing licences keep working) · Setup help