Документация
Язык22
Компоненты / Theme toggles / seesaw-toggle
A dark mode switch drawn as a little seesaw with the sun and the moon on its seats: it tips, the moon swings up into the night sky and the sun settles on the grass as a low ember.
index.html
The markup to copy, between the copy-from-here comments, on a demo page.