crispy-tailwind
Tailwind CSS for Django Crispy Forms
What it is and what it does
Crispy-Tailwind is a template pack that bridges django-crispy-forms and Tailwind CSS, letting you style Django forms with Tailwind utility classes instead of Bootstrap or other frameworks. It works by providing Tailwind-compatible HTML templates that crispy-forms uses when you apply the `|crispy` filter or `{% crispy %}` tag to your form objects.
The package is still in early development stages and supports Django 4.2 and 5.0 on Python 3.8–3.12. It includes default styles for Django's built-in form widgets and allows further customization via widget attributes. Installation is straightforward—add it to INSTALLED_APPS, set the template pack to "tailwind" in settings, and use the filter or tag in your templates.
Use it for:
- Render Django forms with Tailwind CSS styling in new Django projects using Tailwind for the UI framework.
- Migrate existing django-crispy-forms projects from Bootstrap to Tailwind without rewriting form templates.
- Style custom form widgets by combining Tailwind classes with widget.attrs in form field definitions.
- Use FormHelper and Layout from crispy-forms to control form structure while Tailwind handles visual styling.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Tailwind CSS styling templates for django-crispy-forms, allowing you to render Django forms with Tailwind utility classes using the `|crispy` filter or `{% crispy %}` tag.
Yes, if you are using django-crispy-forms and Tailwind CSS together. The package has low install friction, permissive licensing, no known vulnerabilities, and is actively maintained. However, be aware that development is still in early stages—test thoroughly in your project and check the documentation for any limitations with advanced crispy-forms features or custom widgets before relying on it in production.
Install
crispy-tailwind on PyPI
pip
pip install crispy-tailwinduv
uv add crispy-tailwindpoetry
poetry add crispy-tailwindInstalling crispy-tailwind
Before you install
Low friction install with only two runtime dependencies (django and django-crispy-forms). Maintenance status is aging—last commit was 2025-03-22 and the latest release was 2024-02-13, so updates are infrequent but the repository remains active and not archived.
License in practice
MIT license is permissive, allowing free use, modification, and distribution with minimal restrictions—suitable for most commercial and open-source projects.
Quickstart
pip install crispy-tailwind
# In settings.py
INSTALLED_APPS = [
"crispy_forms",
"crispy_tailwind",
]
CRISPY_ALLOWED_TEMPLATE_PACKS = "tailwind"
CRISPY_TEMPLATE_PACK = "tailwind"
# In template
{% load tailwind_filters %}
{{ form|crispy }}
Verify before relying
- Extent of Tailwind CSS version compatibility and whether specific Tailwind versions are required.
- Level of widget customization support beyond Django's built-in widgets.
- Whether FormHelper and Layout features from crispy-forms are fully supported.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 2 — django-crispy-forms, django |
| Maintenance | aging — 913 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 209,432/month — #9,514 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: crispy_tailwind-1.0.3-py3-none-any.whl
Tags
More Python Modules packages
Converts domain names between Unicode and…
permissive · top 100 on PyPI
setuptoolsSetuptools is a Python build backend and…
permissive · top 100 on PyPI
PyYAMLPyYAML parses and emits YAML 1.1 data format,…
permissive · top 100 on PyPI
pydanticPydantic validates Python data structures…
permissive · top 100 on PyPI
annotated-typesProvides reusable metadata objects for use with…
permissive · top 100 on PyPI
typing-inspectionProvides runtime tools to inspect and…
permissive · top 100 on PyPI
crispy-bootstrap3Provides Bootstrap 3 HTML templates for…
permissive · top 15,000 on PyPI
django-unfoldReplaces Django's default admin interface with…
permissive · top 5,000 on PyPI
crispy-bootstrap4Provides Bootstrap 4 HTML templates for…
permissive · top 15,000 on PyPI
django-tailwindIntegrates Tailwind CSS into Django projects…
permissive · top 15,000 on PyPI
django-crispy-formsRenders Django forms programmatically with full…
permissive · top 5,000 on PyPI
crispy-bootstrap5Provides Bootstrap 5 form templates and layout…
permissive · top 5,000 on PyPI
pytailwindcssInstalls and wraps the standalone Tailwind CSS…
permissive · top 15,000 on PyPI
django-widget-tweaksCustomize Django form field HTML and CSS in…
permissive · top 5,000 on PyPI
django-summernoteEmbeds the Summernote WYSIWYG editor into…
permissive · top 15,000 on PyPI
ttkbootstrapApplies Bootstrap-inspired themes and a…
permissive · top 15,000 on PyPI