Just published a polyfill for `<input type="checkbox" switch>`: https://github.com/tomayac/input-switch-polyfill/. Here's a quick demo: https://tomayac.github.io/input-switch-polyfill/. A little proud of how this conditionally only loads when it's needed. Compare Chrome (above, needs the polyfill) and Safari (below, doesn't need the polyfill).
@tomayac This polyfill needs a polyfill for CSS modules in Firefox 😬 Works fine in Nightly, though.
const sheetPromise = import('./input-switch-polyfill.css', {
with: { type: 'css' },
});
Uncaught (in promise) TypeError: polyfill.css: invalid module type

