---
title: "Reset password"
description: "Where Kiln & Co.'s reset link lands: a new password with its rules ticked as you type, a confirmation that must match, and Save password."
plan: Pro
docs: https://ui.edbn.me/docs/templates/reset-password
---

# Reset password

Where Kiln & Co.'s reset link lands: a new password with its rules ticked as you type, a confirmation that must match, and Save password.

Built on the Pro forms: the account's email under the heading, a new password whose rules (10 characters, a letter, a number) tick off as you type, a confirmation, and Save password with a spinner that keeps the button's width. A hidden username field lets password managers save it to the right account. A confirmation that doesn't match comes back as its own field error, and the sample server refuses a password known from breaches the same way. Saved, the card says Password changed and offers Sign in; focus moves to it. expired opens on an expired link instead, with Send a new link to the forgot-password page, and a save that the server answers with LINK_EXPIRED switches to it. It opens with a new password half typed; sample={false} opens it empty.

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

## Dependencies
- npm: lucide-react@^1.33.0, zod@^4.3.5
- edbn: edbn-base, alert, button, card, input, 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
