The track is a seesaw on a pivot and the thumb is a ball. Switching tips the beam the other way and the ball rolls downhill to the low end, picking up speed and actually rotating as it rolls (the stripe on it turns by the distance over its radius), then settles. Pure CSS on a native switch.
pnpm dlx shadcn@latest add "https://movin.design/r/toggle-seesaw.json"The item is indexed, but its registry document could not be loaded.