Layout
Sign-in screen with several methods
Lays out a sign-in screen that offers single sign-on buttons and email, with the email field appearing only when it is chosen.
Written by Inspireca Design (drafted with AI assistance)Updated Not yet reviewed by an editor
The prompt
Replace everything in [SQUARE BRACKETS] before you use it.
Design a sign-in screen for [PRODUCT NAME], a [ONE-LINE DESCRIPTION] app for [PLATFORM: iOS / Android / web]. Sign-in methods to offer, in this order: [LIST, e.g. Google, Apple, single sign-on, email]. Layout rules: - Logo and a one-line statement of what the product is at the top. - One full-width button per sign-in method, all the same size and style, each with the provider's icon and the words "Continue with ...". - The email option behaves like the others at first. Only after it is chosen, show an email field below the buttons, then the next step. - Keep everything on one screen. Do not use tabs for "log in" and "sign up" unless I say they are different flows. - Put links to the terms and privacy policy in small text at the bottom. Use these constraints: [SPACING SCALE, e.g. multiples of 4], [TYPE SIZES], [BRAND COLOUR]. Also design these states: email field focused with the keyboard open, a wrong-password error, and a loading state after a button is pressed. Give me: the layout as a list of elements from top to bottom with sizes and gaps, then the three extra states, then anything you assumed.
How to adapt it
Replace the product, platform and list of methods. Offer only methods you really support, and check each provider's own button guidelines: Apple and Google both publish rules for how their sign-in buttons must look.
Add your own spacing and type values so the result matches the rest of your product. If sign-up and log-in are genuinely different in your product, say so and describe both.
Check the result for: every button the same height and at least 44 to 48 units tall; an error message in words, placed next to the field or button it relates to; and the terms text still readable at its small size. See contrast and touch targets.
Reference: the Notion sign-in breakdown shows this pattern on real screens.