49

Show HN: Free animated icon library for Vue

Hi everyone!

Tim here, maintainer of the lucide-motion-vue library. I build this as a way to use nice animated icons in my webapps. We were already on lucide, and found animate-ui animated icons as a great collection, unfortunately React only or made to be used with shadcn.

So I ported the library to Vue, and combined it with another library (lucide-animated.com). As both libraries dont share the same animations and/or icons, this creates the largest animated icons library for vue that can be used from one source.

Additionally, I've made several quality of live changes to make it easier to use the icons: - drop-in replacement for lucide icons, or use a seperate namespace if you want - several animation variants - easy to be used standalone or in buttons - several animation triggers - comprehensive overview, playground and docs page, comes with llms.txt to be used by agents

Finally, the repo also contains a "forge". With this, you can

a) take any icon from the lucide library, or have ai suggest some b) autogenerate animations for these icons c) add them to the library with one click

We'll use the forge over time to hopefully create animated variants for all of lucides icons, if these icons are useful to be animated.

Looking forward to hear your feedback Cheers!

Nit on the page itself: let me use my back button after opening an icon instead of having to reach up for the close button.

When I hit back and get returned here when I wanted to check out other icons made me not go back to check out others.

an hour agojodacola

Fair, will adjust :D Didn't test too much on mobile tbh

37 minutes agoevolabs

Nice. Yeah, I was checking it out while drinking my coffee and thought I'd share the impact of the experience, because I'm sure you'd like folks to hang around and check it out more!

21 minutes agojodacola

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

2 hours agokevin_thibedeau

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 :)

an hour agoevolabs

I like the idea

Some examples need more work i think

"Database backup" has circular arrow spinning backwards

"Earth" shows lines being drawn -- instead i expected it to show an abstract spin of the globe

"Droplet" animates the outline draw. Expected a droplet that starts small and descends to become full size.

Same with "flame" -- should ideally be an animated flame licking up / whisps

"Copy" and "File Stack" -- the animation shown should ideally be reversed i think

"Git-branch" -- animation is wrong, doesn't show branching -- just drawing nodes and lines.

"Hand-grab" -- should start with open palm and then the grab.

Same with "hand-fist"

Many animations are simple zoom/enlarge - like those on right angle arrows are not serving a purpose

8 hours agoalbert_e

Thank you for the great comment, the effort, and your view/experience shared!

The droplet is what I found unexpected, too, indeed. Yet, the overall ideas, including the reverse animations on rotating ones, with some funky ease, is purely genius, I believe...

If the actual animations/work are of hand of the Tim Rietz, the developer signed alongside Claude LLM, the they are a great artist!

Related: https://icones.js.org/

8 hours agoserious_angel

Thanks! Great to learn about other new icons libs, too

8 hours agoevolabs

Hi! Thanks for checking it out and for the specific examples. I agree, many of the animations are quite basic, will put this on the agenda for improvement. The library already supports multiple variants, so the new animations can be added without breaking existing usage.

8 hours agoevolabs

Most of the animations so far are ported from pqoqubbw/icons and github.com/imskyleen/animate-ui, I'm planning to add more complex / meaningful animations as new variants in the future :) always happy to know which icons are most relevant for that.

8 hours agoevolabs

That's awesome. I wish there was like a "raw code" option like on many icons sites you can just copy the SVG.

5 hours agoAltruisticGapHN

Thanks and noted!

I can add something like this, limited to "simple" animations, tho. Transform, opacity, stroke-draw ones should work, then you'd need zero dependencies. Everything that uses spring, path-morph or state-driven animation likely cant be flattened to static code.

Oh and only the hover trigger would be usable that way, not the others.

an hour agoevolabs

[dead]

2 hours agomeetflow
[deleted]
2 days ago

[flagged]