Off
On
On
Off
Off
Native checkbox styled as a switch using data-variant="switch". No custom JavaScript needed for the visual toggle.
<div class="field" data-type="toggle">
<label for="switch">Feature Name</label>
<input type="checkbox"
id="switch"
data-variant="switch"
aria-label="Enable feature">
<span class="status" data-state="off">Off</span>
</div>
Axiom01 ensures that the Toggle component meets strict WCAG standards out of the box:
prefers-reduced-motion settings for any internal animations.