Features¶UI pattern libraries for Django templates
The django-pattern-library package automates the maintenance of UI pattern libraries or styleguides for Django projects, and allows developers to experiment with Django templates without having to create Django views and models.
Here is a screenshot of the pattern library in action:
Why you need this¶Pattern libraries will change your workflow for the better:
The pattern library is dependent on Django for rendering – but also supports exporting as a static site if needed. Try out our online demo:
We want to make it possible for developers to maintain large pattern libraries with minimal fuss – no copy-pasting of templates between a static library and the “production” templates.
There are a lot of alternative solutions for building pattern libraries, or to have UI development playgrounds. At Torchbox we mainly use Django and Wagtail, and we found it hard to maintain large libraries with those tools that have no awareness of Django Templates. This is our attempt to solve this issue – Pattern Lab goes Django!
To learn more about how this package can be used, have a look at our talk:
Reusable UI components: A journey from React to Wagtail
Last update: 2025-04-08
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4