Switch
The knob crosses on a spring with a squash at each end, the track color crossfades, and an inner glow confirms the on state.
microinteractions / micro-toggle
Playback
Complexity
Foundational
Interaction
Click
Stack
Framer Motion
Category
microinteractions
Where to use it
SaaSMobileDashboard
Ships as motions/microinteractions/micro-toggle.tsx — a self-contained component that accepts playing, speed, params and respects reduced-motion.