Day / Night toggle

Here’s a toggle switch that moves from night to day as a user clicks. it also reacts if the cursor is inside the rectangle or not. this is a great way to make a light and dark mode switch more interactive for UX. Hover over the opaque button on the left to start!

Next
Next

Rive: Interactive city