Component Slots

Target individual component parts with styles using the slot system - className strings or inline style objects.

What are Slots?

Slots let you target specific parts of consent components with styles. Each component is built from named "slots" (e.g., consentBannerTitle, consentDialogFooter) that you can style individually.

Using Slots

Pass slot styles in the theme's slots object:

Slot Style Types

Each slot accepts either a string (treated as className) or a SlotStyle object:

Available Slots

Use the typed API reference below for the full slot list and descriptions. It stays in sync with the actual component slot surface.

API Reference

Loading…
Loading…