c15t
Next.jsReactJavaScript
All frameworks

Tag managers

Google Tag Manager

Measurement

Google TagDatabuddyMixpanelPostHogAhrefs AnalyticsAdobe AnalyticsAmplitudeCloudflare Web AnalyticsMicrosoft ClarityFathom AnalyticsHeapMatomo AnalyticsOOneDollarStatsHotjarHightouchLogRocketPlausible AnalyticsPromptwatchPirschRudderStackSegmentRybbit AnalyticsUmami AnalyticsVercel Analytics

Marketing

Microsoft UETClearbitMeta PixelPPinterest TagReddit PixelTikTok PixelLinkedIn Insight TagSnapchat PixelX PixelYouTube

Functionality

CrispFFront ChatIntercomGoogle Maps
All integrations
Changelog
GitHub1.9kDeploy on Inth
Deploy on Inth
Quickstart
Optimization
AI Agents
Concepts
Initialization Flow
Client Modes
Consent Models
Policy Packs
Consent Categories
Cookie Management
Glossary
Guides
Script Loader
Iframe Blocking
Network Blocker
Callbacks
Internationalization
Policy Packs
Server-Side Data Fetching
Components
ConsentManagerProvider
ConsentBanner
ConsentDialog
ConsentWidget
ConsentDialogTrigger
ConsentDialogLink
Frame
DevTools
Styling
Styling Overview
Design Tokens
Component Slots
Class Names
Tailwind CSS
Color Scheme
CSS Variables
Hooks
Use Consent Manager
useConsentManager
Checking Consent
Setting Consent
Location Info
useTranslations
useFocusTrap
useColorScheme
useReducedMotion
useTextDirection
useSSRStatus
useDraggable
Troubleshooting
Headless
Overview
Building Headless Components
IAB TCF
IAB TCF 2.4
IABConsentBanner
IABConsentDialog
useGVLData (Internal)

JavaScript

AI Agents

Bundled Docs

Every supported c15t package now ships docs inside the installed package itself.

Where to find them

  • node_modules/c15t/docs/README.md
  • node_modules/@c15t/react/docs/README.md
  • node_modules/@c15t/nextjs/docs/README.md
  • node_modules/@c15t/backend/docs/README.md

Start with the package README.md, then follow its linked pages for the relevant workflow.

These docs are version-matched to the exact c15t package version in your project, including generated reference content like prop and type tables.

Why use them

If your app uses multiple c15t packages, use the docs from each relevant installed package instead of relying on stale model knowledge.

Agent philosophy

When an AI tool is helping with c15t behavior, it should read the installed c15t docs first and use model knowledge second. That keeps consent flows, script gating, banner behavior, and integrations aligned with the exact version you have installed.

Customization ladder for agents

When an agent is working on consent UI, it should choose the lowest-power tool that solves the task:

  1. Start with the pre-built component and its existing props or provider options
  2. Use theme tokens for semantic visual changes
  3. Use theme.slots for targeted styling of specific parts
  4. Use CSS variables or className-level overrides only when integrating with external styles
  5. Use compound components only when the markup order must change
  6. Use noStyle only when c15t structure is still correct but all styling must be replaced
  7. Use headless hooks only when markup and behavior both need to be rebuilt

For common tasks:

  • Banner footer background -> theme.colors.surfaceHover
  • Banner card background -> theme.colors.surface
  • Banner card/footer/title tweaks -> banner slots
  • Stock action styling -> theme.consentActions
  • Copy changes -> ConsentManagerProvider.options.i18n

If a token appears not to work, the agent should verify the token-to-component mapping before suggesting CSS overrides, !important, noStyle, or headless mode.

Agent Skills

c15t publishes agent skills that give AI coding assistants deep knowledge of c15t's APIs, components, and configuration. Skills are reusable workflows and tool-specific guidance, not version-matched local docs.

Installation

Via the c15t CLI:

npx @c15t/cli install-skills
pnpm dlx @c15t/cli install-skills
yarn dlx @c15t/cli install-skills
bunx @c15t/cli install-skills

Or directly:

npx skills add c15t/skills
pnpm dlx skills add c15t/skills
yarn dlx skills add c15t/skills
bunx skills add c15t/skills

What skills provide

  • Styling customization — strict escalation guidance across props, tokens, slots, CSS variables, compound components, noStyle, and headless
  • Internationalization — translation setup, locale routing integration
  • Script management — configuring third-party scripts with consent categories
  • Component setup — ConsentBanner, ConsentDialog, provider configuration

Supported tools

  • Claude Code
  • Cursor
  • GitHub Copilot (via .github/skills)
  • Any agent that supports the skills format

When to use which

Use bundled docs when:

  • Your agent can read files in the local project
  • You want version-matched docs from the installed c15t packages
  • You want a package-local README that tells the agent which detailed docs to read first
  • You want concrete guidance for consent management, cookie banners, consent dialogs, preference centers, script loading, callbacks, and integrations

Use agent skills when:

  • Your tool supports the skills ecosystem
  • You want reusable workflows and tool-specific guidance that can point back to the installed package README files

Use both when:

  • Your tool supports both local file context and skills
  • You want local package docs plus reusable setup and configuration help
  • You want the bundled package docs as the source of truth plus a reusable decision tree for customization
Previous: Optimization
Initialization Flow
Next

On this page

  1. 01Bundled Docs
  2. Where to find them
  3. Why use them
  4. Agent philosophy
  5. Customization ladder for agents
  6. 02Agent Skills
  7. Installation
  8. What skills provide
  9. Supported tools
  10. 03When to use which

Hosted

Deploy c15t on Inth

Inth is designed to scale c15t and accelerate your privacy compliance.

Sign up
c15t logo

c15t gives your app a cookie banner, a preferences dialog and consent rules for scripts, as code you own. Hosted on Inth or self-hosted.

Frameworks

  • Next.js
  • React
  • JavaScript

Compare

  • OneTrust
  • Cookiebot
  • Usercentrics
  • Didomi
  • iubenda
  • Osano
  • All comparisons

Integrations

  • Google Tag Manager
  • Google Tag
  • Meta Pixel
  • PostHog
  • Segment
  • Microsoft Clarity
  • All integrations

Resources

  • Self-hosting
  • Changelog
  • Stats
  • About c15t
  • Contact

© 2026 Inth. All rights reserved.

  • c15t Privacy Resources
  • Privacy Policy
  • Terms and Conditions