
django-pattern-library
Django module that builds a browsable UI pattern library from Django templates, with YAML data and Markdown documentation per pattern.
torchbox.github.io/django-pattern-library/repositorydocs
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.
Identity
Rendering and deploy
- Runs as
- Static files, Dev only36
- Rendering
- Static output6
- Install with
- pip install django-pattern-library, or Poetry3
Releases
Adoption
Sources
- 2026-10-28: links, Categories
torchbox.github.io/django-pattern-library/ - 2026-10-28: links, Written in, License, GitHub stars
api.github.com/repos/torchbox/django-pattern-library - 2026-10-28: links, Templating, Runs as, Install with
torchbox.github.io/django-pattern-library/getting-started/ - 2026-10-28: Built on
github.com/torchbox/django-pattern-library/blob/main/README.md - 2026-10-28: Runtime, Minimum runtime
github.com/torchbox/django-pattern-library/blob/v1.6.0/pyproject.toml - 2026-10-28: Rendering, Runs as
torchbox.github.io/django-pattern-library/guides/static-site-export/ - 2026-10-28: Maintainer, License model
raw.githubusercontent.com/torchbox/django-pattern-library/main/LICENSE - 2026-10-28: Headquarters
torchbox.com/contact/ - 2026-10-28: First release
pypi.org/pypi/django-pattern-library/json - 2026-10-28: Current major version
api.github.com/repos/torchbox/django-pattern-library/releases - 2026-10-28: Last release
github.com/torchbox/django-pattern-library/releases/tag/v1.6.0 - 2026-10-28: Contributors
api.github.com/repos/torchbox/django-pattern-library/contributors?per_page=1 - 2026-10-28: Dependent packages, Dependent repositories
packages.ecosyste.ms/api/v1/registries/pypi.org/packages/django-pattern-library