Skip to main content

🧞‍♂️ Djinn UI (v0.1.7)

The First True shadcn/ui Equivalent for the Django Monolith.

PyPI version License: MIT

Stop wasting weeks building UI components from scratch or fighting rigid frontend frameworks. Djinn UI is a CLI-driven component registry that delivers beautifully styled, accessible, and responsive Tailwind CSS components directly into your Django templates.

No vendor lock-in. No heavy JS frameworks. No locked pip libraries. Just clean, native Django code that you own completely.


🚀 The Paradigm Shift

Modern frontend ecosystems (React, Next.js) have premium, plug-and-play component delivery systems like shadcn/ui. Meanwhile, Django developers have been left choosing between heavy runtime packages with custom template syntax, or locked third-party packages that are impossible to customize without brutal CSS overrides.

Djinn UI brings the copy-paste ownership model to the Python world. It isn't a runtime dependency. It is a scaffolding engine.

How it compares:

Feature Locked Pip Packages Heavy Runtime Tools Djinn UI
Delivery Model Distributed via pip Complex Server Logic CLI Scaffolding
Runtime Overhead Low (but rigid) High (Custom engines) Zero (Native Django)
Customization Painful CSS overrides Limited by library API 100% Free (It's your code)
AI Workflows Hidden from LLMs Hard for AI to reason Built-in MCP Server

🎨 The Web Builder & Canvas

Djinn isn't just a CLI—it is a visual component ecosystem. Djinn UI ships with a fully interactive local Drag & Drop Canvas Builder and Component Explorer.

  • Interactive Canvas: Drag and drop Djinn components visually to build full layouts, then instantly copy the generated, production-ready Django template code.
  • Custom Namespaces (@internal/): Create and host your own private design systems for your team or agency. Use djinn add @internal/dashboard-card to pull components securely.
  • Preset Sharing: Instantly share complex, pre-configured component layouts with your team using short-links (/c/xyz123).

🤖 Built for the Agentic Era

Djinn UI is the only Django component registry designed from the ground up for AI-assisted workflows (vibecoding).

It ships with a built-in Model Context Protocol (MCP) Server. When you connect it to AI agents like Cursor or Claude, your assistant can natively read, understand, and scaffold your custom UI setup.

Example Prompt for Cursor: "Use my Djinn components to build a beautiful SaaS billing dashboard page with a 3-tier pricing breakdown."


📦 Installation & Usage

Get up and running in less than 60 seconds.

1. Install the CLI via PyPI

pip install djinn-ui

2. Initialize Djinn in your Django Project

djinn init

This configures your components directory and ensures compatibility with your Tailwind CSS setup.

3. Add a Component

Want a clean, fully-styled dashboard layout or a functional modal? Just call the Djinn:

(Insert a fast-paced GIF here showing djinn add dashboard alongside the rendered browser output!)

djinn add dashboard

The raw, clean HTML (and any optional Alpine.js interactions) is instantly dropped right into your project's local templates directory.

4. Render Natively

Use standard, vanilla Django {% include %} tags out of the box:

{% include 'components/ui/dashboard.html' %}

🧩 Tech Stack Philosophy

Djinn UI is built for developers who believe in the power and simplicity of the clean monolith. It pairs perfectly with:

  • Django (Native templating, no complex SPA decoupled overhead)
  • Tailwind CSS (Utility-first styling, easily configured via tailwind-merge utility tag {% cn %})
  • HTMX & Alpine.js (For crisp, lightweight, SPA-like reactivity without leaving your Python ecosystem)

🗺️ Roadmap & Ecosystem

  • Core CLI Architecture & Core Scaffolding Engine
  • Built-in MCP Server for AI/LLM context injection
  • Foundational UI blocks (Buttons, Inputs, Modals, Cards)
  • Visual Drag & Drop Component Canvas
  • Custom Namespace Routing for Private Design Systems
  • Premium "Djinn Pro" block expansion (SaaS landing pages, complex charts, data tables)
  • Multi-variant theme generator

📄 License

Distributed under the MIT License. See LICENSE for more information.

Download files

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

Source Distribution

djinn_ui-0.1.7.tar.gz (75.9 kB view details)

Uploaded Source

Built Distribution

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

djinn_ui-0.1.7-py3-none-any.whl (177.2 kB view details)

Uploaded Python 3

File details

Details for the file djinn_ui-0.1.7.tar.gz.

File metadata

  • Download URL: djinn_ui-0.1.7.tar.gz
  • Upload date:
  • Size: 75.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for djinn_ui-0.1.7.tar.gz
Algorithm Hash digest
SHA256 ff2e050bf6e2f4fbe7358ef9f191a68e2874122d9432bb43ceec25b1d8ff592c
MD5 7e1f92796b2b72da98a7397447d09721
BLAKE2b-256 9c0d382cac0073fcfd2bf01545e2326d869b48b1ab6766c89839470526858d04

See more details on using hashes here.

File details

Details for the file djinn_ui-0.1.7-py3-none-any.whl.

File metadata

  • Download URL: djinn_ui-0.1.7-py3-none-any.whl
  • Upload date:
  • Size: 177.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.5

File hashes

Hashes for djinn_ui-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 8a7e7611364dc2404ab231b656b2801a3bf0b22994b1acc5c1940791839b24e6
MD5 1712dc85b6efa9acfe0c3670e9eb19b1
BLAKE2b-256 c144cddc017861925dcf376118b845077a3945ba411878f376a2075dbcec2e8c

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.11

2 files

0.1.10

2 files

0.1.8

2 files

This release

0.1.7 This release

2 files

0.1.6

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

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