IAB TCF

useGVLData (Internal)

useGVLData() currently powers the built-in IABConsentDialog, but it is not part of the public package surface.

Older docs showed it as a public hook. That is no longer accurate.

If you need supported customization points today:

  • Use IABConsentBanner and IABConsentDialog from @c15t/react/iab for the supported prebuilt UI
  • Use useHeadlessIABConsentUI() from @c15t/react/iab when you need lower-level control over banner/dialog state and actions

When a public GVL-focused hook becomes part of the supported API, this page should document that public surface instead of the internal dialog hook.