<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@friendlycaptcha/sdk](./sdk.md) &gt; [CreateWidgetOptions](./sdk.createwidgetoptions.md) &gt; [theme](./sdk.createwidgetoptions.theme.md)

## 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:**

```typescript
theme?: "light" | "dark" | "auto";
```
