GODRICH
#css-animation#button#loader#transition#scroll#dashboard#ui#design-trends

01Toggle lever switch

A metal lever tilts around its pivot to pick on or off, and on release it springs once before settling. The on state shows as both an LED dot and the word ON, and reports itself through role="switch" with aria-checked.

Best forThe power panel of an audio rack, mode switching on a device settings screen

role="switch"aria-checkedcubic-bezier(.2,1.4,.4,1)linear-gradient
Toggle lever switch
Open in a new tab

01 Toggle lever switch — Measured area 4.119% · moving frames 18/23Original by GODRICH · SCSS and React ship in the zip · CSS Switch Button 9 Ways — Rocker to Tape Eject

The post this demo lives in

CSS Switch Button 9 Ways — Rocker to Tape Eject - preview of all 9 demosCSS Switch Button 9 Ways — Rocker to Tape EjectA css switch button is a control drawn to behave like the physical switch it stands in for: a lever that tilts, a knob t See all demos in this post

If you like this effect - similar demos