Skip to main content AWT

Login

A centered sign-in form: username, password, submit, and a password-recovery link.

To add it, open the block inserter in the editor, choose the Patterns tab, and search for “Login”. Drop it in, then replace the placeholder content with your own.

Live example

This is the real Login pattern, rendering on this page right now. Flip the color scheme with the toggle in the header and the pattern recolors with it.

Sign in

Forgot password?

What’s inside

Every AWT pattern is built from AWT blocks, nothing custom. Each block below is documented on its own page, with every parameter and state.

Blocks that make up the Login pattern
BlockWhat it is
SectionA container that keeps content at a readable width with even spacing.
FormA form.
Text inputA single-line text field with a label and optional helper, error and warning text.
Password inputA password field with a show/hide button.
ButtonA button that runs an action or opens a link.

Accessible the moment you insert it

Every block in this pattern carries AWT’s accessibility work: a discernible name for each control, correct roles and states, a visible focus ring, and text contrast that holds in both color schemes.

Dark mode, built in

Switch to dark mode with the toggle in the header and the pattern adapts to it.