Skip to content

Theme controller

If a checked checkbox or radio input has the theme-controller class, the page uses the theme in the input value.

Theme controller documentation

Class names

  • component: theme-controller

Syntax

<input type="checkbox" value="{theme-name}" class="theme-controller" />

Rules

  • The value attribute of the input element must contain a valid daisyUI theme name.