Skip to main content

dj-design-system

CI PyPI version Python versions Django License: MIT

DjDS is a Django-native approach to writing front end components that are exposed as templatetags. It comes with an auto-generated, customisable, live interactive gallery of your UI components that lives 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.

Browse the demo →

Read the docs →.

Quick start

pip install dj-design-system

Then follow the quickstart guide to register your first component.

Supported versions

Python Django
3.13 5.2 (LTS)
3.14 6.0
latest

Documentation

Full documentation is available at fukalite.github.io/dj-design-system/.

To browse locally:

just docs-serve
Document Contents
Quick start Installation and first component
Components Defining components and parameters
Registry Auto-discovery and the component registry
Gallery Configuring and customising the gallery
Template tags Using components in templates
API reference Auto-generated class and parameter docs

A static snapshot of the component gallery is browseable at fukalite.github.io/dj-design-system/demo/ (HTMX interactions disabled; run just demo for the full live experience).

Contributing

See CONTRIBUTING.md for how to set up a dev environment, run tests, and submit a pull request.

Code of conduct

This project follows the Contributor Covenant. Please read CODE_OF_CONDUCT.md before contributing.

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

MIT

With thanks to the UK Department for Business and Trade, where this was originally developed.

Metadata

Release files for dj-design-system 0.8.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dj-design-system 0.8.2
File Size Uploaded
dj_design_system-0.8.2.tar.gz 535.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dj-design-system 0.8.2
File Interpreter ABI Platform
dj_design_system-0.8.2-py3-none-any.whl Python 3 none any Details

Total release size: 686.6 kB

Release files / dj_design_system-0.8.2.tar.gz

Download URL dj_design_system-0.8.2.tar.gz
Size 535.9 kB
Tags Source
SHA-256 checksum
How to use checksums
5139a5bb6f7e412982d4ee5c1a7b2a831a220a45e0c6cb3c326643712fc76cd4
BLAKE2b-256 checksum
How to use checksums
3c6d7477b1351848efa192da4d6ee7a09cdbf44927244e2b2df9fee153093be6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.24 {"installer":{"name":"uv","version":"0.12.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / dj_design_system-0.8.2-py3-none-any.whl

Download URL dj_design_system-0.8.2-py3-none-any.whl
Size 150.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
05af32eb6797372c42ce6629e262d9fae9d8925eb99550eaca83b38e455cc3fa
BLAKE2b-256 checksum
How to use checksums
9b8255f57320af4d26198e80a5c949b60ea9b5e40feb23f562b66463f1920a96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.12.24 {"installer":{"name":"uv","version":"0.12.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release history Release notifications | RSS feed

This release

0.8.2 This release

2 release files

0.8.1

2 release files

0.8.0

2 release files

0.7.0

2 release files

0.6.3

2 release files

0.6.2

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page