# django-components/django-components

Create simple reusable template components in Django.

Repository: https://github.com/django-components/django-components
Canonical: https://ross.abutalabs.com/products/django-components
Homepage: https://django-components.github.io/django-components/
Language: Python
License: MIT
License Family: permissive
Topics: django, components, django-templates, reusable-components, pypi-package, frontend
Last push: 2026-08-24T18:05:47+00:00

## Health v2 (maintenance only)
Score: 95/100 (v2, computed 2026-09-03T02:39:23.370411+00:00)
- activity 99, release rhythm 87, longevity 100
- inputs: {"age_days": 4101, "days_push": 9, "days_rel": 11, "gap_med": 4.0, "n_releases_24m": 63}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1516, forks 99 (observed 2026-08-28T04:04:56.650947+00:00)

## What it is
django-components is a modular and extensible UI framework for Django that lets developers create reusable template components combining HTML, JavaScript, and CSS. It brings component-based modularity similar to Vue or React into the Django templating ecosystem.

## Use cases
- create reusable UI components in Django
- build component-based Django templates
- bundle HTML, CSS, and JS into Django components
- organize large Django frontend codebase with components
- use React-style components without leaving Django
- make reusable template partials in Django

## When to choose
- you maintain a Django project and want modular, reusable UI pieces
- you want component architecture without adopting a separate JS frontend framework
- your team wants to stay within the Django ecosystem

## When to avoid
- you're building a fully client-side SPA with React or Vue
- your project doesn't use Django
- you only need simple template includes without JS/CSS encapsulation

## Facets
- artifact type: library
- maturity: active
- function: ui-components, templating, frontend-framework
- domain: web-development, frontend, developer-tools
- platform: python
- tags: django, reusable-components, component-architecture, html, css, javascript, web-server

## Member repositories
- django-components/django-components (main) score 95

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:56.650947+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:32:05.900015+00:00, confidence not recorded.
  - readme: https://github.com/django-components/django-components (fetched 2026-08-28T04:04:56.650947+00:00, sha 1c9f8a7ab19e)
  - homepage: https://django-components.github.io/django-components/ (fetched 2026-08-29T11:35:32.903513+00:00, sha e827478bbe0c)
  - registry_pypi: https://pypi.org/pypi/django-components/json (fetched 2026-08-29T11:35:32.912300+00:00, sha 73689376586c)
- Data as of 2026-08-30T08:39:29.467469+00:00.
