pic-toggle demo

Web Component — label positions

Different sizes, initial states and extra attributes (form submission, reset)

(toggle a checkbox or submit the form)

Programmatic API

Indeterminate state

Slot content (rich labels)

NVIDIA +20% perf VIA

Broken image (loads /nope.png) — emits "image-error" event

(waiting for image-error…)

Custom filters (no grayscale)

RTL (dir="rtl") — left/right swap automatically