The main button component houses two more components within it. One is for the counter (numbers) and the other is for the star icon.
I've chosen this approach because it allows me to create different variants for each component's states. Then, I can apply these to the main button component in various states, like hover and pressed.
Step / 01
Remix the project.
Step / 02
See how it's built.
Step / 03
Try recreating it for practice or just copy and paste it to your project.