Day 3/5 - Animated Checkboxes by Aditya Pardeshi
And another challenge -
By now, I'm pretty comfortable adding animations and prefixing "motion" on every damn element.
For the checkbox - went from using a motion.div, to a motion.rect (svg) - and a lot of experimentation along the way !
The strike through is a div itself that animates in and out on state change.
struggled a lot with exit animation of the svg checkbox, to make it trace back the same path & it still doesn't work ; )
All in all - again a good exp!
Thanks to folks who organised this!
Your upvotes and feedback are welcome!
Words have more power than we think. Be kind.