This component has a frame positioned absolutely within it, and that frame slides over the white part of the component when you click the button.
We've also implemented an easy code override to achieve a scale-down effect as you press the button.
The code is included in the remix, but you can also copy it from below and create the override in your project from scratch if you prefer.
Step / 01
Remix the project.
Step / 02
See how it's built.
Step / 03
Recreate it for practice or copy and paste it to your project.
Scale down on click code override for Framer
Feel free to copy the code and create the code override from scratch in any of your projects.