Create Your Own Extension

Build custom extensions for DjangoCFG with our comprehensive toolkit and step-by-step guide

CLI Tool
Generate extension scaffolding instantly
Loading code...
Base Package
Foundation for all extensions
Component Playground
Explore 100+ ready-to-use UI components built with Tailwind CSS, Shadcn/ui, and Radix UI primitives. Test components interactively and copy code instantly.
1
Create Extension
2 minutes

Use the CLI tool to generate your extension scaffolding with playground:

Loading code...

The CLI creates a complete extension with Next.js 15 playground for instant testing

2
Configure Extension Metadata
5 minutes

Edit src/config.ts to define your extension metadata:

Loading code...
3
Build Components & Use UI Library
Varies

Create your extension components using DjangoCFG UI components:

Loading code...

See the UI Components tab for more examples and setup instructions

4
Add Preview Image
Optional

Add a preview.png file to your extension root (1200x630px recommended)

This image will automatically be displayed in the marketplace via unpkg CDN

5
Development with Playground
Instant

Start the playground for instant testing with hot reload:

Loading code...

Playground features: Next.js 15, auto-build, auto-open browser, hot reload, BaseApp with theme/auth, AI docs search