crispy-bootstrap5
Bootstrap5 template pack for django-crispy-forms
Decision gist · record as of 2026-08-14
Yes. If you're using django-crispy-forms in a Django project targeting Bootstrap 5, this is the standard template pack for that combination. Low friction, no vulnerabilities, active maintenance, and MIT licensing make it a straightforward choice. Install it if you want Bootstrap 5 form rendering without writing custom templates.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires django and django-crispy-forms to be installed and configured in your Django project.
- Low install friction—pure Python wheel with only two runtime dependencies.
- Actively maintained with recent release on 2026-03-01 and ongoing repository activity.
License · maintenance · safety
MIT (permissive) — MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects with minimal restrictions.
last release 2026-03-01 (166 days) · last repo commit 2026-08-10 · 528 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 1,296,690 downloads/mo, #4,093 on PyPI
Alternatives
Verify before relying
pip install crispy-bootstrap5
# In Django settings.py:
INSTALLED_APPS = (
"crispy_forms",
"crispy_bootstrap5",
)
CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap5"
CRISPY_TEMPLATE_PACK = "bootstrap5"
# In a form layout:
from crispy_bootstrap5.bootstrap5 import FloatingField
Layout(FloatingField("field_name"))- Whether FloatingField, BS5Accordion, and Switch layout objects are fully compatible with all Bootstrap 5 versions or have known limitations.
- Performance impact of template rendering at scale or with complex form hierarchies.
What it is and what it does
crispy-bootstrap5 is a template pack plugin that bridges django-crispy-forms and Bootstrap 5, translating Django form definitions into Bootstrap 5–styled HTML. It provides layout objects for Bootstrap 5–specific features: FloatingField for floating labels, BS5Accordion for accordion groups with flush and always-open modes, and Switch for toggle-style checkboxes. Once installed and configured in Django settings, it handles form rendering automatically, letting developers write form logic in Python and get Bootstrap 5 markup without manual HTML.
The package is lightweight—just a wheel with two dependencies—and targets modern Python (3.9+) and recent Django versions (5.2, 6.0). It's actively maintained and carries no known security vulnerabilities, making it a straightforward drop-in for Django projects already using crispy-forms that want Bootstrap 5 styling.
Use it for
- Render Django forms with Bootstrap 5 styling and layout without writing custom HTML templates.
- Add floating labels to form fields using the FloatingField layout object for modern form UX.
- Build collapsible accordion form sections with Bootstrap 5 accordion features (flush, always-open modes).
- Implement toggle switches for boolean form fields using the Switch layout object.
- Maintain consistent Bootstrap 5 form styling across a multi-page Django application.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
If you're using django-crispy-forms in a Django project targeting Bootstrap 5, this is the standard template pack for that combination. Low friction, no vulnerabilities, active maintenance, and MIT licensing make it a straightforward choice. Install it if you want Bootstrap 5 form rendering without writing custom templates.
Install
crispy-bootstrap5 on PyPI
Before you install
Low install friction—pure Python wheel with only two runtime dependencies. Actively maintained with recent release on 2026-03-01 and ongoing repository activity.
Requires django and django-crispy-forms to be installed and configured in your Django project.
License in practice
MIT license permits unrestricted use, modification, and distribution in both open-source and commercial projects with minimal restrictions.
Quickstart
pip install crispy-bootstrap5
# In Django settings.py:
INSTALLED_APPS = (
"crispy_forms",
"crispy_bootstrap5",
)
CRISPY_ALLOWED_TEMPLATE_PACKS = "bootstrap5"
CRISPY_TEMPLATE_PACK = "bootstrap5"
# In a form layout:
from crispy_bootstrap5.bootstrap5 import FloatingField
Layout(FloatingField("field_name"))
Verify before relying
- Whether FloatingField, BS5Accordion, and Switch layout objects are fully compatible with all Bootstrap 5 versions or have known limitations.
- Performance impact of template rendering at scale or with complex form hierarchies.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesdjangodjango-crispy-forms |
| Maintenance | Actively maintained 166 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 1,296,690 / month, #4,093 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Environment :: Web EnvironmentFramework :: DjangoFramework :: Django :: 5.2Framework :: Django :: 6.0Operating System :: OS IndependentProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Internet :: WWW/HTTPTopic :: Internet :: WWW/HTTP :: Dynamic ContentTopic :: Software Development :: Libraries :: Python Modules |
Evidence: crispy_bootstrap5-2026.3-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “bootstrap accordion django”
- crispy-bootstrap5Provides Bootstrap 5 form templates and layout components for…
- django-bootstrap5Provides Django template tags and filters to render Bootstrap 5…
- django-bootstrap3Provides Django template tags and filters to render Bootstrap 3 HTML…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also crispy-bootstrap3 · crispy-bootstrap4 · django-bootstrap-datepicker-plus · django-crispy-forms · crispy-tailwind · django-bootstrap5 · django-bootstrap-form · django-bootstrap3 · Bootstrap-Flask · Flask-Bootstrap