Ross ROSS = Recommend OSS · open-source software intelligence for agents

wrabit/django-cotton

Enabling Modern UI Composition in Django observed · 2026-08-28

github.com/wrabit/django-cotton · homepage · Python · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

84/100

  • Activity 94
  • Release rhythm 86
  • Longevity 58
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 3
  • age_days: 816
  • days_rel: 93
  • days_push: 41
  • n_releases_24m: 50

Full methodology

Adoption not part of the score

1163 stars · 61 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

Django Cotton is a Python library that brings component-based UI composition to Django templates, letting developers define reusable components in single template files and use them with HTML-like tags or native Django template tags. It compiles to native Django template tags with caching, supports slots, attributes, and vars, and pairs well with Tailwind CSS, Alpine.js, and HTMX.

Use cases

  • build reusable UI components in Django templates
  • replace repetitive {% include %} snippets with components
  • create consistent form input components across a Django app
  • compose page layouts with slots and variants
  • build reusable HTMX components rendered from views
  • use React-style components without leaving Django templates

When to choose

  • you use Django's template engine and want modern component-based UI composition
  • you want reusable components without Jinja, a build step, or a JS frontend framework
  • you pair Django with Tailwind CSS, Alpine.js, or HTMX and want encapsulated UI files

When to avoid

  • your project uses Jinja2 instead of Django's template language
  • you need a full client-side component framework like React or Vue
  • you only need simple one-off template includes

Facets

library · maturity active

ui-components templating frontend-framework web-development frontend developer-tools python django components slots htmx tailwind alpinejs template-tags web-server

10 sources

Member repositories

RepositoryRoleHealth v2
wrabit/django-cottonmain84

For agents

markdown · JSON · MCP: product_card(name="wrabit/django-cotton")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem