Blocks
Auth
Sign in, sign up and password reset.
Sign in, split screen
A brand panel with a customer quote beside the form. Below roughly 768px of width the panel drops away and the logo moves above the form. Social sign-in sits first, then email and password. Errors appear under each field when the form is sent, and focus jumps to the first one.
Sign in to Lumen
Welcome back. Pick up where your team left off.
New to Lumen? Create an account
Sign up with email verification
A centred card on a muted page. After a valid sign-up the card swaps to a 6-digit code step built on InputOTP: it verifies as soon as the last digit is typed or pasted, and the resend link unlocks after a 30-second countdown.
Create your account
Start a 14-day trial of Lumen Pro. No card needed.
Forgot password
Asks for the email, then confirms without saying whether the account exists (so the page can’t be used to probe for accounts). The resend link waits 30 seconds.
Forgot your password?
Enter the email you signed up with and we’ll send you a link to choose a new one.
Reset password
The page a reset link opens. Requirements tick off as you type and the strength bar follows them; the confirm field checks for a match only on submit, so it doesn’t nag while you’re still typing.
Choose a new password
For ada@northwind.com. Pick something you don’t use on other sites.
When to use
- Split screen: the main sign-in of a product with a brand to show. Centred card: secondary steps (sign up, verify, reset) and apps embedded in other products.
- Keep one primary action per step. Social buttons are outline so they don’t compete with it.
- Not for: in-app re-authentication before a sensitive action (use a dialog), or invitation flows that already know the email (prefill and lock it).
Behaviour
- Forms use
noValidateand validate on submit; messages are specific (“Enter an email like name@company.com”), and typing in a field clears its error. - Buttons show
loadingwhile the request runs: they keep focus and ignore extra clicks. - When a step changes, focus moves to the new heading (or to the code field on the verify step), so keyboard and screen-reader users are not left on a removed button.
- Autocomplete hints (email, current-password, new-password, one-time-code) let password managers and SMS autofill do their job.
Responsive
- Layouts use container queries, so the block adapts to the space it is given, not just the viewport.
- Split screen: two columns from 48rem of block width; one column with the logo on top below that.
- Cards keep a 28rem maximum width with 16px gutters down to 360px screens; social buttons sit side by side only when both labels fit.
Accessibility
- Each field is wired through Field: label, hint and error are linked with aria-describedby, and errors set aria-invalid and are announced.
- The password reveal button is a toggle (aria-pressed) with an accessible name.
- Requirement items say “met” or “not met” to screen readers, not only through colour and icon.
- Brand marks on social buttons are decorative; the button text names the provider.