SikandarJODD / svelte-animations

Svelte Magic UI, Svelte Aceternity UI, Svelte Components build using Tailwind CSS & Framer Motion
https://animation-svelte.vercel.app
MIT License
642 stars 31 forks source link

Refactor Component Code Preview using `vite` provided `raw` import. #3

Closed theetherGit closed 4 months ago

theetherGit commented 4 months ago

I have added code import as top level instead of dynamic import. This works well, I think i can do that for all components. If you allow i wanna do some refactoring after going through this codebase.

Test Deployment - https://svelte-animations-ashy.vercel.app/

vercel[bot] commented 4 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
svelte-animations ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 2, 2024 5:11pm
SikandarJODD commented 4 months ago

I have added code import as top level instead of dynamic import. This works well, I think i can do that for all components. If you allow i wanna do some refactoring after going through this codebase.

Test Deployment - https://svelte-animations-ashy.vercel.app/

Yeep u can go for refactoring the components in new branch ?

theetherGit commented 4 months ago

Do you have anything in mind you want to refactor? We should go for accessibility for every element so we can use bits-ui as i suggested in the tweet also. Are you in favour of bits-ui?

Second thing if you wanna make it more easy to use you can introduce a cli - suggestion for the future currently we should focus on implementing all possible components you have in mind.

SikandarJODD commented 4 months ago

Yeep Agreed I don't know how to work with bits ui..but i will learn...for now i am working on 3 Input Components from Luxe