logoalt Hacker News

kevin_thibedeautoday at 12:07 PM1 replyview on HN

Can't these just be done as SVG hover transitions? Then you have the option to use them inline with no JS.


Replies

evolabstoday at 12:42 PM

For a subset, definitly. Anything that's just transform/opacity/stroke-draw can be done.

However, this works only for hover animations then, I believe. The library also provides other triggers.

And some icons use springs, where when you hover away mid-animation it settles "smoothly".

But yes, I can defs add a no JS option for selected icons :)