Bootstrap 6 auth showcase template by uiCookies

Eight authentication screens for Bootstrap 6 — classic sign in, registration with the new password strength meter, forgot password, set a new password, two-factor verification, a passwordless magic link, workspace SSO and a session lock screen.

Every screen was designed and coded in-house by uiCookies against the Bootstrap 6 alpha. Each design is its own page with prev/next navigation, there is no build step, and light and dark mode both work out of the box.

Download all 8 (free) Browse live demos

What changed for auth forms in Bootstrap 6

Two of the components v6 added exist more or less for this screen.

  • The password Strength meter is built in. A bare data-bs-strength marker on the input gives you a meter that fills as the password improves. In v5 this was a plugin or fifty lines of your own.
  • So is the OTP input. data-bs-otp gives the multi-box code field with paste and auto-advance handled — the two-factor and magic-link screens here both use it.
  • Validation waits for the user. data-bs-validate plus native :user-invalid means a sign-in form does not turn red before anyone has typed. .needs-validation and .was-validated no longer exist.
  • Dark mode is always compiled. There is no $enable-dark-mode Sass flag any more — dark ships in the stylesheet and is switched at runtime with data-bs-theme on <html>. Every screen here works in both without a second build.

The eight designs

1. Classic sign in

Classic sign in — free Bootstrap 6 template by uiCookies

Email and password on a centred card, with an adorned input and native :user-invalid feedback.

Live Demo

2. Register with strength

Register with strength — free Bootstrap 6 template by uiCookies

Account creation using the new password Strength meter, which fills as the password improves.

Live Demo

3. Forgot password

Forgot password — free Bootstrap 6 template by uiCookies

A single field and an honest message — deliberately vague about whether the address exists.

Live Demo

4. Set a new password

Set a new password — free Bootstrap 6 template by uiCookies

The other half of the reset flow, with the Strength meter and a confirmation field.

Live Demo

5. Two-factor verification

Two-factor verification — free Bootstrap 6 template by uiCookies

The OTP input handling a six-digit code, with paste support and one-time-code autofill.

Live Demo

6. Passwordless sign in

Passwordless sign in — free Bootstrap 6 template by uiCookies

Email-only sign in, with the sent state shown inline rather than on a separate page.

Live Demo

7. SSO and social sign in

SSO and social sign in — free Bootstrap 6 template by uiCookies

Provider buttons above a divider, with a workspace Combobox for organisations on SAML.

Live Demo

8. Locked session

Locked session — free Bootstrap 6 template by uiCookies

The return-from-idle screen: identity already known, so only the password is asked for.

Live Demo

What is in the pack

  • Eight authentication screens, each on its own page with prev/next navigation
  • Classic sign in with adorned email input and remember-me
  • Registration using Bootstrap 6’s new password Strength meter
  • Forgot password and set-new-password, the two halves of a reset flow
  • Two-factor verification built on the new OTP input, with one-time-code autofill
  • Passwordless magic-link sign in with an inline sent state
  • SSO screen with provider buttons and a searchable workspace Combobox
  • Idle lock screen that keeps the identity and asks only for the password
  • Native :user-invalid validation throughout via data-bs-validate
  • Full dark mode via data-bs-theme, remembered across visits
  • ESM-only vanilla JavaScript — no jQuery, no bundler, no build step

Installing Bootstrap 6

Bootstrap 6 is not on npm yet, so the pack includes the pinned alpha dist it was built against under assets/vendor/bootstrap6/. Open any screen straight from the folder — there is no build step and nothing to install.

Frequently asked questions

Is Bootstrap 6 released yet?

Not as a stable version. Bootstrap 6 is in alpha, and it is not published to npmnpm i bootstrap@6 will not fetch it. These templates ship the compiled alpha dist they were built against, pinned to a specific commit, so they keep working regardless of what changes upstream.

Can I use these in production?

Treat them the way you would treat any alpha. They are complete, tested templates and the markup is correct for the build they ship with — but Bootstrap 6 class names and component APIs are still moving, so a later alpha may require changes. For a site you have to maintain today, Bootstrap 5 is still the safer answer.

Do I need a build step?

No. Every file is plain HTML with the compiled CSS and an ESM script tag. Open it from the folder and it runs. Bootstrap 6 is ESM-only, which means there is no window.bootstrap — you import the bundle for its side effects and that registers the data-attribute API.

Why does the console log an error about more than one instance?

On pages using a Combobox you will see “Bootstrap doesn’t allow more than one instance per element. Bound instance: bs.combobox.” That is an upstream bug in the alpha: the Combobox constructor creates a Menu on an element that already holds a combobox instance. It is a logged error, not a thrown one, and every component still works. We have deliberately not patched around it, because the fix belongs upstream.

Are these free for commercial use?

Yes — free for personal and commercial projects, including client work. What you cannot do is repackage the pack itself for redistribution.

More Bootstrap 6 templates

The rest of the Bootstrap 6 component packs, all built against the same pinned alpha build:

For complete sites and admin UIs rather than single components, see all 34 free Bootstrap 6 templates — which also covers what changed from Bootstrap 5 in full.

Download all 8 templates (free) Browse live demos


Aigars Silkalns

Designed & written by Aigars Silkalns

Aigars Silkalns is a Latvian entrepreneur and web developer who founded Colorlib, a hub for distinctive WordPress themes. Trained in technology and design, he began as a freelancer and launched Colorlib in 2013, earning acclaim for user-friendly, modern, responsive themes. A champion of open source, Silkalns shares insights on web trends and entrepreneurship. His mission is to make web design simple and accessible, empowering people worldwide to build professional sites with ease.

XLinkedInMore about uiCookies →

Published by Aigars Silkalns

Aigars Silkalns is a Latvian entrepreneur and web developer who founded Colorlib, a hub for distinctive WordPress themes. Trained in technology and design, he began as a freelancer and launched Colorlib in 2013, earning acclaim for user-friendly, modern, responsive themes. A champion of open source, Silkalns shares insights on web trends and entrepreneurship. His mission is to make web design simple and accessible, empowering people worldwide to build professional sites with ease.

uiCookies content is free. When you buy through links on our site, we may earn an affiliate commission.