← Hub · Open the micro-demo

Auth forms: autocomplete tokens (username/password/OTP)

The goal: let browsers and password managers do their job.

Quick take

Login

<input name="username" autocomplete="username" autocapitalize="none" spellcheck="false">
<input name="current-password" type="password" autocomplete="current-password">

Signup / reset

One-time codes (2FA / SMS / email)

<input name="otp" inputmode="numeric" autocomplete="one-time-code" pattern="[0-9]*">
Micro-demo

See the BEFORE/AFTER markup side-by-side: Auth autocomplete demo.