Skip to content

ThemeController

Whether this controller is currently in its active (checked) state. For checkboxes: true = ThemeController.Value theme is active. For radios: true = this option is currently selected.

Raised when the checked state changes.

Content rendered inside the wrapping label — typically a Swap component showing themed icons, or a plain text label for radio variants.

The radio group name. Only used when ThemeController.Type is ThemeControllerType.Radio. All radio theme-controllers that share the same Name are mutually exclusive.

Whether this controller renders as a checkbox toggle or a radio button. Defaults to ThemeControllerType.Checkbox.

The daisyUI theme name this controller activates (e.g. “dark”, “cupcake”, “horizon”). For the checkbox variant this is the theme applied when checked; unchecked reverts to the page default. For the radio variant this is the theme applied when this option is selected.