GriffinJohnston / ldrs

Modern, tree-shakeable loader & spinner web components. Made with CSS, HTML and SVG. https://uiball.com/ldrs
MIT License
1.75k stars 54 forks source link

Vue #7

Closed reneonguitar closed 1 year ago

reneonguitar commented 2 years ago

Will there be a Vue version? Thanks.

GriffinJohnston commented 2 years ago

This is definitely something I'm interested in doing! I'm currently in the middle of a huge update to another project, but as soon as I have a little breathing room, this could happen. I'll leave this issue open to track.

arcbjorn commented 1 year ago

Hey @GriffinJohnston. I'm using your lib on couple of my projects, it's amazing, thank you very much!

If you want, I could take a look at how to implement it in Vue 3.

GriffinJohnston commented 1 year ago

@arcbjorn Thanks for the kind words and the offer! I'm actually currently looking into migrating the whole library to https://github.com/BuilderIO/mitosis which would theoretically allow compiling to every major framework, including Vue. So I'd say hold off on that for now. If I take too long, or Mitosis doesn't end up being workable, I'd love for you to spearhead a Vue 3 version though.

ilindaniel commented 1 year ago

Any ideas how we could create a React Native lib for this? StyleSheet doesn't support pseudo-elements.

Maybe with Animated?

GriffinJohnston commented 1 year ago

@ilindaniel I'm no React Native expert, but I think Animated is likely the way to go. Maybe start a new issue about this?

kibotrel commented 1 year ago

I'm bumping this up regarding Vue, would like to use this! Great project overall 🙏

GriffinJohnston commented 1 year ago

@kibotrel There's good news on this front actually. I'm 95% finished with a big v2 update that migrates this whole lib over to web components, and adds 12 new loaders to boot. Since the loaders are shipped as custom elements, the new version will be compatible with pretty much everything, including Vue. I'm about to be away from my computer for a week, but the v2 should launch no later than the end of the month.

kibotrel commented 1 year ago

That's great news ! Keep up the good work man and take your time 😄

GriffinJohnston commented 1 year ago

@kibotrel Officially launched! https://www.producthunt.com/posts/ldrs

kibotrel commented 1 year ago

Damn, what a new, i'm excited to try it out. Good job man!