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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dj_design_system-0.5.0.tar.gz (306.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dj_design_system-0.5.0-py3-none-any.whl (95.3 kB view details)

Uploaded Python 3

File details

Details for the file dj_design_system-0.5.0.tar.gz.

File metadata

  • Download URL: dj_design_system-0.5.0.tar.gz
  • Upload date:
  • Size: 306.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","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}

File hashes

Hashes for dj_design_system-0.5.0.tar.gz
Algorithm Hash digest
SHA256 a2199c259b49e33f93d0f3089de855367620ef8a92d12333b526181a562e0e45
MD5 4715b08d151ba12abd8c4fe23445f719
BLAKE2b-256 187b6726542a184768f6d7f0367d205a94512c9e3c546e196150feb731a3d154

See more details on using hashes here.

File details

Details for the file dj_design_system-0.5.0-py3-none-any.whl.

File metadata

  • Download URL: dj_design_system-0.5.0-py3-none-any.whl
  • Upload date:
  • Size: 95.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.29 {"installer":{"name":"uv","version":"0.11.29","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}

File hashes

Hashes for dj_design_system-0.5.0-py3-none-any.whl
Algorithm Hash digest
SHA256 c5bcbef24e866eba8746a6e63d8e938f0122b2acf79023891c739ccaea891839
MD5 cad8936bc0aabdf3bc7409bb8b496d06
BLAKE2b-256 3d56d1d44408c16e27c3bb3a6fb6b66709fe67889562e5b0f7e47e019411fb1c

See more details on using hashes here.

Release history Release notifications | RSS feed

0.6.1

2 files

0.6.0

2 files

0.5.1

2 files

This release

0.5.0 This release

2 files

0.4.4

2 files

0.4.3

2 files

0.4.2

2 files

0.4.1

2 files

0.4.0

2 files

0.3.0

2 files

0.2.1

2 files

0.2.0

2 files

0.1.1

2 files

0.1.0

2 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