Skip to main content

friendly-captcha-sdk > CreateWidgetOptions > theme

CreateWidgetOptions.theme property

The theme for the widget.

* "light" (default): a light theme with a white background. * "dark": a dark theme with a dark background. * "auto": the theme is automatically chosen based on the user's system preferences.

Signature:

theme?: "light" | "dark" | "auto";