---
title: "Forgot password"
description: "Kiln & Co.'s password reset request: the email and Send reset link, then the same answer for every address in the form's place, with Resend after a wait."
plan: Pro
docs: https://ui.edbn.me/docs/templates/forgot-password
---

# Forgot password

Kiln & Co.'s password reset request: the email and Send reset link, then the same answer for every address in the form's place, with Resend after a wait.

Built on the Pro forms: one email field checked by a Zod schema, and Send reset link with a spinner that keeps the button's width. Back to sign in sits under the form in every state. Every address gets the same answer, so the page never says which emails have accounts: the sent state takes the form's place in the same cell, so the card keeps its height, and says a link is on its way if there's an account, expiring in an hour. Focus moves to it. Resend waits 30 seconds between sends and says when it's ready; Use another email brings the empty form back and focuses it. A fourth request in one visit comes back as an alert with the time to try again. It opens on the sent state for maya@example.com; sample={false} opens the empty form.

A Pro page template built on Base UI and Tailwind CSS v4.

## Installation

This is a Pro item. Once per project, create a token at https://ui.edbn.me/dashboard/tokens, put it in `.env.local` as `EDBN_TOKEN`, and add the registry to `components.json`:

```json
{
  "registries": {
    "@edbn": {
      "url": "https://ui.edbn.me/r/{name}.json",
      "headers": { "Authorization": "Bearer ${EDBN_TOKEN}" }
    }
  }
}
```

Then install:

```bash
npx shadcn@4.19.0 add @edbn/forgot-password
```

## Dependencies
- npm: lucide-react@^1.33.0, zod@^4.3.5
- edbn: edbn-base, alert, card, separator, text-link, form-core, form-fields

## Source

The source is part of Pro (https://ui.edbn.me/pricing). The install above adds it to the project, ready to edit.

## More authentication templates

All 10, with install commands: https://ui.edbn.me/docs/templates/authentication (Markdown: https://ui.edbn.me/docs/templates/authentication.md)

## For agents
- Base theme, once per project: npx shadcn@4.19.0 add https://ui.edbn.me/r/edbn-base.json
- MCP server with search, items, examples and source: https://ui.edbn.me/mcp
- Every page and item: https://ui.edbn.me/llms.txt
