Password recovery

Request a reset link by email, with a quiet description of what happens next and a route back to sign in.

Password recovery
Default density Compact density Restart from the initial state Show the copyable source

Reset your password

Enter the email you signed up with and we'll send you a reset link.

Back to sign in Send reset link
<form style="inline-size:min(100%, 24rem)"> <tp-card> <h2 slot="header">Reset your password</h2> <p slot="description">Enter the email you signed up with and we'll send you a reset link.</p> <tp-field label="Email" description="The link expires after 30 minutes."> <tp-input name="email" type="email" autocomplete="email" required></tp-input> </tp-field> <tp-button slot="footer" variant="ghost" href="#sign-in">Back to sign in</tp-button> <tp-button slot="footer" type="submit">Send reset link</tp-button> </tp-card> </form>

How it’s composed

  • Card keeps the same frame as Sign in, so moving between the two screens feels like one flow.
  • Field carries a description for the link’s expiry, which screen readers announce with the input.
  • Button pairs a ghost link back to sign in with the primary submit in the footer, in reading order.

Make it yours

After a successful request, replace the form with a confirmation message and a resend action, and keep the response identical whether or not the address has an account.

More patterns