Class Names
Style consent components using className props and per-slot className targeting via the theme.
Component className
All consent components accept a className prop:
Per-Slot className
Target individual component parts via the theme's slots object. Each slot accepts a string (className) or an object with className and style:
Combining with CSS Modules
noStyle Mode
Use noStyle when you want to remove defaults and style from scratch:
You can also set noStyle per-slot:
For full custom markup and behavior, continue to Headless Mode.