Skip to main content
Djinn UI Logo

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.8.tar.gz (76.0 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.8-py3-none-any.whl (177.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: djinn_ui-0.1.8.tar.gz
  • Upload date:
  • Size: 76.0 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.8.tar.gz
Algorithm Hash digest
SHA256 28e7aca1d302ee8ae27c7529e47d4d246ac637b226f1417bd64cb5e22b98502c
MD5 b57921fee63166035f8ab28ad9aee84b
BLAKE2b-256 72bd0223da8d80c237d2a5cda263dedf5bf1ba44a3e132c5620a3ff148031ed4

See more details on using hashes here.

File details

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

File metadata

  • Download URL: djinn_ui-0.1.8-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.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b7c4bbbe928e55dff313e97904ac175757991b81d0eb87629cf4c8381e8edc23
MD5 6f7ba9c30326729aede359a4c5c65c69
BLAKE2b-256 a83e19406f1345c32c8c416e15c63083a2ec37c3191b4b65e02ef42f567c464e

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.11

2 files

0.1.10

2 files

This release

0.1.8 This release

2 files

0.1.7

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