Skip to the forms
Bootstrap 6.0.0-alpha1

Bootstrap 6 Auth Pages

Ten form layouts covering the shapes real projects need — contact, sign-up, booking, multi-step, verification and filtering. Between them they use every form component Bootstrap 6 added over v5.

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.