This release is a pre-release and may not be stable for production use.
labb
labb is a UI component library for Django, built with django-cotton, Tailwind CSS, and daisyUI 5. Write components directly in Django templates; labb renders the markup on the server.
It includes 50+ components for forms, navigation, data display, feedback, layouts, and charts. Pages stay static by default. When a page needs browser state or server-driven updates, labb uses Datastar while keeping Django views and templates in charge.
Requirements: Python 3.10–3.13 and Django 4.2+.
Status: labb is in pre-stable development and ready for production use. The 0.5.0 release settled the main API changes, so breaking changes should now be uncommon before v1.0.
<c-lb.card class="w-80">
<c-lb.card.body>
<c-lb.card.title>New order</c-lb.card.title>
<p>Ready for review.</p>
<c-lb.button variant="primary">Open order</c-lb.button>
</c-lb.card.body>
</c-lb.card>
Start a new project
pip install labbstart
labbstart new
cd your-project-name
labb dev
Run python manage.py runserver in another terminal, then open http://localhost:8000.
Add labb to an existing project
pip install labbui
labb init --defaults
labb setup
Add the apps to settings.py:
INSTALLED_APPS = [
# ...
"django_cotton",
"labb",
]
Add the dependencies component inside your base template's <head>:
{% load lb_tags %}
<c-lb.m.dependencies />
Keep labb dev running while you work. Install icons with pip install labbui[icons] when you need them.
Explore components
Browse examples and API references at labb.io/docs/ui, or inspect components from the terminal:
labb components inspect button
labb components ex button
labb icons search "arrow"
The guide covers installation, theming, CSS builds, reactivity, and writing your own components.
Community
Follow GitHub Discussions for release notes and project updates. We use Discussions for questions and feedback..
License
Metadata
Release files for labbui 0.5.0a1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| labbui-0.5.0a1.tar.gz | 601.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| labbui-0.5.0a1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 1.4 MB
Release files / labbui-0.5.0a1.tar.gz
| Download URL | labbui-0.5.0a1.tar.gz |
|---|---|
| Size | 601.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f73a7c72f30586a85435d0477f74968df6f580b59bfca4ead3c3c34760e17719
|
|
BLAKE2b-256 checksum How to use checksums |
3597db29faa9775673f5048a201c8e5efdfdd036929e73366522dce5ea10c1cc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 11, 2026.
Transparency logRelease files / labbui-0.5.0a1-py3-none-any.whl
| Download URL | labbui-0.5.0a1-py3-none-any.whl |
|---|---|
| Size | 803.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
decf65a0eeb6d37b30dc3da979595e924cdd5b72b24633798d0f1eef66710e9a
|
|
BLAKE2b-256 checksum How to use checksums |
a2b78c9b911efe2970713b0ec9082d3308c0c6c9a669d7145b3668f15fc6081a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Sep 11, 2026.
Transparency log