Bootstrap 5 contact forms are essential for any business or portfolio website. This page covers 4 contact form layouts — basic, card, split panel and floating label — each ready to integrate with your backend.
Quick Setup
Contact forms need only Bootstrap 5 CSS:
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"/>
Key Classes Reference
| Class | What It Does |
|---|---|
.form-control | Styles all inputs and textarea |
.form-label | Label above each input |
.form-select | Styled select dropdown |
.form-floating | Floating label wrapper |
.form-text | Helper text below input |
.row g-3 | Grid layout with gap for form fields |
rows="4" | Sets textarea height |
1. Basic Bootstrap 5 Contact Form
A clean contact form with name, email, subject and message fields.
2. Bootstrap 5 Contact Form in Card
Contact form inside a card with brand header and contact info section.
3. Bootstrap 5 Contact Form with Info Panel
Two column layout with contact information on the left and form on the right.
4. Bootstrap 5 Floating Label Contact Form
Contact form using Bootstrap 5.3 floating labels for a modern, clean look.
Frequently Asked Questions
Need a Full Bootstrap 5 Admin Dashboard?
Get a complete Angular 21 + Bootstrap 5 dashboard with 50+ components — built by the same team behind BootstrapPlanet.
Browse Templates →Use code FIRST30 for 30% off your first purchase.