PART NO. DS-015

Din-Raat Toggle · Day-Night Toggle

The sun spins out, a crescent spins in, stars wake inside the track — and the new theme wipes in as a circle from the switch itself. Your onToggle commits the real theme.

Theme

Watch the wipe start from the switch.

Din-Raat Toggle · plain JS, zero deps · attach via DinRaat.attach(btn, opts) · role=switch + reduced-motion