django-web-components: Create reusable template components

Hi everyone!

I have been working on a library that allows you to build reusable template components. There are already a few of these out there (e.g. django-components), but after checking how other languages / frameworks deal with components (e.g. Elixir Phoenix Components, Laravel Blade Components, Vue Components, etc.), I thought that there could be some improvements made to what is already available in Django, so I decided to write my own.

If you’re interested, you can check it out here: GitHub - Xzya/django-web-components: A simple way to create reusable template components in Django.

Thanks!

9 Likes

Looks promising, great job.

1 Like

Thanks for making the Django ecosystem richer:)

Will keep an eye on it!

1 Like

This is one module that can be used while working with DTL.
Thanks for introducing this module. :clap:

1 Like

This looks incredibly promising. Any ideas to upstream this? Component-based design would be an excellent addition to Django’s std templating

Great job! I like your minimalist approach to component definition. I also found slippers library with a minimalist approach and nested components.
I will choose one of them after trying both libraries :smiley:

I would like to hear the verdict :blush: