codepenz
← Back to catalog

Scaling Letter Toggle

An on/off switch where two letter-spans — n and ff — scale up and down as it flips, so the same pair reads off when unchecked and on when checked while the knob slides. Theme-aware via CSS light-dark().

ButtonsComponentscsstoggleswitchtypographylight-darkreact
Added July 5, 2026
Flip the switch