django-basecoat
Ready-made Basecoat components (shadcn/ui) for Django, powered by django-cotton.
Installation
uv add django-cotton django-basecoat
Add django_basecoat and django_cotton to your INSTALLED_APPS:
INSTALLED_APPS = [
...
"django_cotton",
"django_basecoat",
...
]
Quick Start
Include the required CSS and JS in your base template (or use your own setup):
<script src="https://cdn.jsdelivr.net/npm/@tailwindcss/browser@4"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/basecoat-css@0.3.6/dist/basecoat.cdn.min.css">
<script src="https://cdn.jsdelivr.net/npm/basecoat-css@0.3.6/dist/js/all.min.js" defer></script>
Use components in your templates:
<c-button>Click me</c-button>
<c-card>
<c-card.header>Card Title</c-card.header>
<c-card.section>Card content goes here</c-card.section>
</c-card>
Available components include: accordion, alert, avatar, badge, breadcrumb, button, card, checkbox, dialog, dropdown menu, input, select, table, tabs, and more.
Documentation
- Setup Guide - Initial project configuration
- Development Workflow - How to contribute and work with the project
Demo Project
Want to see django-basecoat in action? Check out the demo_project directory for a complete Django application showcasing all available components.
To run the demo:
cd demo_project
./quickstart.sh
# or: make setup && make run
Then visit http://127.0.0.1:8000/ to see the component library in action!
Metadata
Release files for django-basecoat 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| django_basecoat-0.2.0.tar.gz | 88.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| django_basecoat-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 123.2 kB
Release files / django_basecoat-0.2.0.tar.gz
| Download URL | django_basecoat-0.2.0.tar.gz |
|---|---|
| Size | 88.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0e17ea64274db6df59c11b5c2c5f289f5d950159a2b1382121ffd2f2d4d14613
|
|
BLAKE2b-256 checksum How to use checksums |
5b9ae3134580d7a3c038c16aa6f2f092a3d95d75f31c561503ac26459fa73368
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Release files / django_basecoat-0.2.0-py3-none-any.whl
| Download URL | django_basecoat-0.2.0-py3-none-any.whl |
|---|---|
| Size | 34.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ce6934e16e41347cf48e27b583748fb260c39cbbfb5a3ed25a211f94714e21d1
|
|
BLAKE2b-256 checksum How to use checksums |
c816ed70ebe3b1c464608e8587216f62845b1ca75a6bf65a507dbff938200d3c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|