---
title: "Reset Password"
description: "The page a reset link opens: a new password typed twice, the link's token sent along, and a way to get a new link when it has expired."
plan: Pro
docs: https://ui.edbn.me/docs/forms/form-reset-password
example: default
---

# Reset Password

The page a reset link opens: a new password typed twice, the link's token sent along, and a way to get a new link when it has expired.

## 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/form-reset-password
```

## Dependencies
- npm: react-hook-form@^7.87.0, zod@^4.3.5
- edbn: form-core, form-fields, button

## Usage: New password

The example code is part of Pro (https://ui.edbn.me/pricing). With the user's token, the edbn MCP server's `get_example` tool returns it: https://ui.edbn.me/mcp

## Examples
- [New password](https://ui.edbn.me/docs/forms/form-reset-password/default) (Markdown: https://ui.edbn.me/docs/forms/form-reset-password.md?demo=default)
- [Expired link](https://ui.edbn.me/docs/forms/form-reset-password/expired) (Markdown: https://ui.edbn.me/docs/forms/form-reset-password.md?demo=expired)

## Files
- components/forms/blocks/reset-password-form.tsx (133 lines)
- components/forms/blocks/reset-password-schema.ts (26 lines)

## 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
