01
Stacked contact form
The default. Labelled fields in a single column with help text, an adorned email input and native :user-invalid validation.
02
Split brand panel
A gradient brand panel beside the fields — the pattern most SaaS sign-up flows land on.
03
Multi-step form
Long forms split across steps with Bootstrap 6’s new Stepper marking progress.
04
Inline filter toolbar
A horizontal search and filter bar built from Combobox — the pattern every listing page needs.
05
Appointment booking
Datepicker plus time-slot toggles — the shape almost every clinic, salon and studio needs.
06
Sign-up with strength meter
Registration using the new password Strength component, which fills as the password improves.
07
Verification code
One-time-code entry with the new OTP input: per-character boxes, paste handling and one-time-code autofill.
08
Tag and interest picker
Chip input for tokens the visitor types themselves, plus chips as removable applied filters.
09
Quote calculator
Range sliders with live value bubbles driving a running estimate — no plugin, no chart library.
10
Floating labels
Floating labels with adorned inputs and a native select, for dense forms where every row counts.
Using these
Each form is a standalone page. Copy the markup out of the one you want and drop it into your project — the only requirements are Bootstrap 6’s CSS and, if you use Combobox, Datepicker, OTP, Chips or Range, its JavaScript bundle.
Bootstrap 6 is ESM-only, so the script tag needs type="module" and
there is no window.bootstrap global. Importing the bundle for its side
effects is what registers the data-attribute API.
Validation
.needs-validation and .was-validated are gone. Put
data-bs-validate and novalidate on the form and native
:user-invalid handles the styling — feedback only appears after the
visitor has actually interacted with a field. Add
data-bs-validate="valid" if you also want success styling.
A gotcha worth knowing
Combobox’s search and multiple options are typed
booleans, so a bare attribute fails config validation. Write
data-bs-search="true", not data-bs-search. Bare marker
attributes are correct for data-bs-otp, data-bs-chips,
data-bs-strength and data-bs-validate.