{# @description A checkbox-driven swap: content flips between the on and off slots when its checkbox is toggled. Give label so it has an accessible name. #}
{# @prop label:text | description:"Accessible name for the checkbox." #}
{# @prop rotate:boolean | description:"Flip the content with a rotation instead of a swap." #}
{# @prop flip:boolean | description:"Flip the content with a horizontal flip instead of a swap." #}
{# @prop active:boolean | description:"Force the swap into its active (on) state, for a project's own script to toggle." #}
{# @prop checked:boolean | description:"Start the checkbox checked." #}
{# @prop disabled:boolean | description:"Disable the checkbox." #}
{# @prop name:text | description:"Checkbox name, for a swap used inside a form." #}
{# @prop value:text | description:"Checkbox value, for a swap used inside a form." #}
{# @prop input_class:text | description:"Extra classes added to the checkbox." #}
{# @prop on:text | description:"Content shown when the checkbox is checked." #}
{# @prop off:text | description:"Content shown when the checkbox is unchecked." #}
{# @prop indeterminate:text | description:"Content shown while the checkbox is indeterminate." #}
{# @prop class:text | description:"Extra classes added to the wrapper." #}
{# @slot:on ON — Content shown when the checkbox is checked. #}
{# @slot:off OFF — Content shown when the checkbox is unchecked. #}
{# @slot:indeterminate — Only a project's own script sets the checkbox's indeterminate state; give label so the control still has a name. #}
{# No theme-controller component: it is exactly a swap with input_class="theme-controller" and a value. #}
{# djlint:off #}
{# djlint:on #}