# django-pattern-library

Django module that builds a browsable UI pattern library from Django templates, with YAML data and Markdown documentation per pattern.


Source: https://findsoftware.frbit.cloud/django-pattern-library/
Last reviewed: 2026-10-28
Listed since: 2026-10-28

## Record

### Links

- home: https://torchbox.github.io/django-pattern-library/
- repository: https://github.com/torchbox/django-pattern-library
- docs: https://torchbox.github.io/django-pattern-library/getting-started/

### Identity

- status: active
- maintainer: Torchbox Ltd
- maintainerType: company
- parent: unknown
- firstRelease: 2019
- hqCountry: GB

### Kind

- category: dev-tool
- hosting: not applicable
- language: python
- runtime: python
- runtimeMin: python 3.10
- basedOn: django

### Content

- contentStore: not applicable
- databases: not applicable
- adminUi: not applicable
- headlessApi: not applicable
- templating: django, jinja2
- i18n: not applicable

### Rendering and deploy

- runsAs: static, local
- renderingModes: static
- installMethod: pip install django-pattern-library, or Poetry

### License

- licenseModel: open-source
- license: BSD-3-Clause

### Releases

- currentMajor: 1
- latestReleaseDate: 2026-07-24

### Adoption

- githubStargazers: 424
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 30
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: 28
- dependentPackages: 1

### Sources

- urls: https://torchbox.github.io/django-pattern-library/ (read 2026-10-28)
- urls: https://api.github.com/repos/torchbox/django-pattern-library (read 2026-10-28)
- urls: https://torchbox.github.io/django-pattern-library/getting-started/ (read 2026-10-28)
- category: https://torchbox.github.io/django-pattern-library/ (read 2026-10-28)
- basedOn: https://github.com/torchbox/django-pattern-library/blob/main/README.md (read 2026-10-28)
- language: https://api.github.com/repos/torchbox/django-pattern-library (read 2026-10-28)
- runtime: https://github.com/torchbox/django-pattern-library/blob/v1.6.0/pyproject.toml (read 2026-10-28)
- runtimeMin: https://github.com/torchbox/django-pattern-library/blob/v1.6.0/pyproject.toml (read 2026-10-28)
- templating: https://torchbox.github.io/django-pattern-library/getting-started/ (read 2026-10-28)
- renderingModes: https://torchbox.github.io/django-pattern-library/guides/static-site-export/ (read 2026-10-28)
- runsAs: https://torchbox.github.io/django-pattern-library/guides/static-site-export/ (read 2026-10-28)
- runsAs: https://torchbox.github.io/django-pattern-library/getting-started/ (read 2026-10-28)
- installMethod: https://torchbox.github.io/django-pattern-library/getting-started/ (read 2026-10-28)
- maintainer: https://raw.githubusercontent.com/torchbox/django-pattern-library/main/LICENSE (read 2026-10-28)
- hqCountry: https://torchbox.com/contact/ (read 2026-10-28)
- license: https://api.github.com/repos/torchbox/django-pattern-library (read 2026-10-28)
- licenseModel: https://raw.githubusercontent.com/torchbox/django-pattern-library/main/LICENSE (read 2026-10-28)
- firstRelease: https://pypi.org/pypi/django-pattern-library/json (read 2026-10-28)
- currentMajor: https://api.github.com/repos/torchbox/django-pattern-library/releases (read 2026-10-28)
- latestReleaseDate: https://github.com/torchbox/django-pattern-library/releases/tag/v1.6.0 (read 2026-10-28)
- githubStargazers: https://api.github.com/repos/torchbox/django-pattern-library (read 2026-10-28)
- contributors: https://api.github.com/repos/torchbox/django-pattern-library/contributors?per_page=1 (read 2026-10-28)
- dependentPackages: https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/django-pattern-library (read 2026-10-28)
- dependentRepos: https://packages.ecosyste.ms/api/v1/registries/pypi.org/packages/django-pattern-library (read 2026-10-28)

## Notes

django-pattern-library is a Django module for building UI pattern libraries, styleguides made from a project's own Django templates. It is installed with pip or Poetry, and the library is rendered by Django, so it depends on Django for rendering. Django templates are supported, and Jinja templates are supported in an experimental form.

The library can also be exported as a static site, which the project describes as a way to publish a pattern library without a runtime dependency on the rest of the code.

## Worth knowing

The getting-started guide says to enable the package only in testing environments, for a restricted, trusted audience. The Jinja support is marked experimental in the docs. The project is maintained by Torchbox Ltd, a company registered in England and Wales, and the repository is under the torchbox organization on GitHub.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
