ConsentManagerProvider

The root provider component that initializes the consent system and makes consent state available to all child components.

ConsentManagerProvider is the root component for the c15t consent system. It initializes the consent store, detects the user's jurisdiction, resolves translations, and provides consent state to all child components via React context.

Every other c15t component and hook must be rendered inside this provider.

Basic Usage

Options Reference

Loading…
Loading…
Loading…

Mode: c15t vs offline

See Client Modes for a detailed comparison.

Configure URLs that appear in the consent banner and dialog:

Overrides

Force a specific jurisdiction, country, or language regardless of detection:

Props

Loading…