Skip to main content AWT

Form

A stacked form: labelled fields, a checkbox, and a submit button. A starting point for any form.

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

Live example

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

Create an account

Your real name as you want it displayed.
We will only contact you about your account.
At least 12 characters.

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 Form 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.
CheckboxA checkbox with a label and optional helper and error text.
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.