A Design System for Django used by UKTrade
Project description
django-design-system
A Django-native approach to writing front end components that are exposed as templatetags. Comes with an auto-generated, customisable live interactive gallery of your UI components alongside your Django project.
Components are recognisably Django elements; they look and work like Models or Forms. The gallery auto-discovers them, renders live previews in sandboxed iframes, generates templatetag usage examples, and builds a searchable navigation tree — all from your existing code and docstrings.
Quick start
pip install django-design-system
Then follow the quickstart guide to register your first component.
Documentation
Full documentation lives in the docs/ directory and can be browsed locally with:
make docs-serve
| Document | Contents |
|---|---|
| docs/quickstart.md | Installation and first component |
| docs/components.md | Defining components and parameters |
| docs/registry.md | Auto-discovery and the component registry |
| docs/gallery.md | Configuring and customising the gallery |
| docs/templatetags.md | Using components in templates |
Contributing
See CONTRIBUTING.md for how to set up a dev environment, run tests, and submit a pull request.
Issues and feature requests
Please open an issue on GitHub. Use the bug report template for defects and the feature request template for new ideas.
Security
To report a vulnerability privately, see SECURITY.md.
Licence
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file uktrade_intranet_design_system-0.0.1.tar.gz.
File metadata
- Download URL: uktrade_intranet_design_system-0.0.1.tar.gz
- Upload date:
- Size: 147.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.13.5 Linux/5.15.0-1104-aws-fips
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6d2c941f2ae1007ddae20318f79a85a80eb75207af7628863d45ed04401bae67
|
|
| MD5 |
39032611a57614eb39bbbbca48eb56d1
|
|
| BLAKE2b-256 |
ce3c85bbdd9a7eb960edabfa5a1d951e3945b26ff79dcc405c7e8bb1052d1a42
|
File details
Details for the file uktrade_intranet_design_system-0.0.1-py3-none-any.whl.
File metadata
- Download URL: uktrade_intranet_design_system-0.0.1-py3-none-any.whl
- Upload date:
- Size: 101.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.2 CPython/3.13.5 Linux/5.15.0-1104-aws-fips
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4e018f4c0a7a8f5ce9243f75326ba1880d2a896b97d4b552e46357ce1ea105d4
|
|
| MD5 |
5008f0c85df57da021cebf5465287b8a
|
|
| BLAKE2b-256 |
9964d7fb691b352213ddc079b0c958c2347a1841c795f186875ce63075cf07a8
|