adamghill / django-unicorn

The magical reactive component framework for Django ✨
https://www.django-unicorn.com
MIT License
2.25k stars 112 forks source link

[Potential Feature] transitions #523

Open dancaron opened 1 year ago

dancaron commented 1 year ago

Adam,

I think something like this could be cool. What do you think?

https://boringrails.com/articles/tailwind-style-css-transitions-with-stimulusjs/

dancaron commented 1 year ago

https://github.com/mmccall10/el-transition

If you think it could be worth doing, I'll start a branch. You can see an example of these transitions on the Tailwind components pages. I.e. the modal popup:

https://tailwindui.com/components/application-ui/overlays/modals

adamghill commented 1 year ago

I've looked at the Alpine transitions jealously before, but I didn't know about https://github.com/mmccall10/el-transition! I'm onboard to look at a PR if you have the time. I think it would be a great addition, especially since it shouldn't increase the size of the JS library too much I wouldn't think.

pfisterjonas commented 1 year ago

Adam, if you manage to implement this feature, django with unicorn would be all I'd ever need! P.S.: love your project!