# Sign in

A sign-in page and the steps around it: a remembered account, the whole form, a code by email to reset the password, a second step, and each error said where it happened.

## Guidelines shown here

- [Forms](/ui/guidelines/patterns/forms/index.md)

  Type a password shorter than 8 characters and press Sign in: the message lands under the field and focus moves there. Three in a row, and the whole form's error, Too many attempts, stands above the buttons.

- [Writing](/ui/guidelines/content/writing/index.md)

  Each error says how to put it right, Enter an email address, like alice\@example.com. Buttons are a verb and its object, Send code or Save password, and a saved password is said in a toast, Password changed.

- [Accessibility](/ui/guidelines/content/accessibility/index.md)

  The eye in the password field is a button named Show password that stays pressed while the password shows. Press Use a passkey instead: the whole form's error is announced as it appears.

- [Touch & mobile](/ui/guidelines/platforms/touch-and-mobile/index.md)

  On a phone the module is the whole screen. Forgot password? leads to a code field that opens the number pad and offers the code from the mail, and the email fields bring the email keyboard.

## Components

- [ui · Avatar](/ui/storybook/?path=/docs/ui-primitives-avatar--docs)
- [ui · Button](/ui/storybook/?path=/docs/ui-primitives-button--docs)
- [ui · Checkbox](/ui/storybook/?path=/docs/ui-primitives-checkbox--docs)
- [ui · FieldDescription](/ui/storybook/?path=/docs/ui-primitives-fielddescription--docs)
- [ui · Input](/ui/storybook/?path=/docs/ui-primitives-input--docs)
- [ui · Label](/ui/storybook/?path=/docs/ui-primitives-label--docs)
- [ui · Pane](/ui/storybook/?path=/docs/ui-primitives-pane--docs)
- [ui · PasswordInput](/ui/storybook/?path=/docs/ui-primitives-passwordinput--docs)
- [ui · Separator](/ui/storybook/?path=/docs/ui-primitives-separator--docs)
- [ui · TextLink](/ui/storybook/?path=/docs/ui-primitives-textlink--docs)
- [ui · Timestamp](/ui/storybook/?path=/docs/ui-primitives-timestamp--docs)
- [ui · Toaster](/ui/storybook/?path=/docs/ui-primitives-toaster--docs)
