Bootstrap 5 login forms are one of the most searched UI patterns. This page covers 5 login form designs — from a simple basic form to split screen and social login layouts — each with working copy-paste HTML.
Quick Setup
Login 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 input, select and textarea elements |
.form-label | Styles the label above an input |
.form-check | Wrapper for checkbox and radio inputs |
.form-check-input | Styles checkbox or radio input |
.form-floating | Enables floating label animation |
.form-text | Helper text below an input |
.was-validated | Triggers validation styles on the form |
.is-invalid | Adds red invalid styles to an input |
.invalid-feedback | Error message shown when input is invalid |
.w-100 | Makes button full width |
.min-vh-100 | Full viewport height |
.d-flex.align-items-center | Vertical centering |
.input-group | Attach button to input |
1. Basic Bootstrap 5 Login Form
A clean, minimal login form with email, password and remember me checkbox.
2. Bootstrap 5 Login Form in Card
Login form wrapped in a Bootstrap card with shadow. Common pattern for SaaS and admin login pages.
3. Bootstrap 5 Split Screen Login
A two-column login layout with a branded left panel and form on the right. Popular for modern SaaS apps.
5. Bootstrap 5 Floating Label Login
Login form using Bootstrap 5 floating labels — labels animate up when the input is focused or filled.
4. Bootstrap 5 Dark Login Page
Dark themed login page — perfect for admin panels and developer tools.
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.
4. Bootstrap 5 Login with Social Buttons
Login form with Google and GitHub social sign-in buttons. Common pattern for developer tools and SaaS apps.