No Results Found
Switch for users to customize their experience.
<tk-light-switch
is-checked="false"
on-check="yourMethod()">
<span slot="label" class="l-block mb-2x t-heavy">Invisibility cloak</span>
</tk-light-switch>
Light switches help communicate access to a feature and/or piece of functionality. We use --interface-primary
to denote “on” and --interface-secondary-light
to denote “off.”
Note: if integrating into an Angular app, the attributes will need to be camelcase and wrapped in as inputs.
<tk-light-switch
is-checked="false"
is-disabled="true"
on-check="yourMethod()">
<span slot="label" class="l-block mb-2x t-heavy">Invisibility cloak</span>
</tk-light-switch>
We automatically append “enable” or “disable” to the aria-label
. Please consider this when choosing a label.