---
title: "Forms"
description: "14 ready-made forms and 7 field building blocks with validation, server errors, and loading states handled."
plan: Pro
docs: https://ui.edbn.me/docs/forms
---

# Forms

Sign-in, account, team, checkout, and support forms with validation, server errors, and loading states already handled. Built on React Hook Form and Zod.

Each one sends its values to a function you write. [Submitting forms](https://ui.edbn.me/docs/forms/forms-submitting.md) shows how to connect it to a server action.

## Installation

These items are Pro (https://ui.edbn.me/pricing). 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 any of them by name, for example:

```bash
npx shadcn@4.19.0 add @edbn/form-core
```

## Foundation
- [Form](https://ui.edbn.me/docs/forms/form-core.md): The submit lifecycle and field binding behind every edbn form: server errors beside their fields, one submit at a time, focus on the first problem, drafts, availability checks, and resend cooldowns.
- [Fields](https://ui.edbn.me/docs/forms/form-fields.md): Labelled inputs bound to React Hook Form: text, email, password with rules, counted text areas, numbers, selects, comboboxes, radio cards, checkboxes, and switches.
- [OTP Field](https://ui.edbn.me/docs/forms/form-otp-field.md): A one-time code in separate boxes that fills from a paste or a text message and submits itself when complete.
- [Date Field](https://ui.edbn.me/docs/forms/form-date-field.md): A date people can type in their own order or pick from a calendar, with limits, and helpers that send the calendar day to your server without timezone shifts.
- [File Upload](https://ui.edbn.me/docs/forms/form-file-field.md): Files by drag and drop or a button, uploaded through your own function with progress, cancel, and retry, and checked for type, size, and count first.
- [Address Fields](https://ui.edbn.me/docs/forms/form-address-fields.md): A postal address that follows its country: postal code and region labels, formats, and which lines apply, with browser autofill on every line.
- [Wizard](https://ui.edbn.me/docs/forms/form-wizard.md): Steps over one form: Next checks only the current step, Back keeps every value, and focus moves to each new step's heading.

## Forms
- [Sign In](https://ui.edbn.me/docs/forms/form-sign-in.md): Email and password with social providers and an optional emailed sign-in link.
- [Sign Up](https://ui.edbn.me/docs/forms/form-sign-up.md): Name, email, and a new password with its rules ticked off as people type, a live check for emails that already have an account, and agreement to your terms.
- [Forgot Password](https://ui.edbn.me/docs/forms/form-forgot-password.md): Asks for an email and answers the same way whether or not it has an account, with a resend that waits between emails.
- [Reset Password](https://ui.edbn.me/docs/forms/form-reset-password.md): 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.
- [Verify Code](https://ui.edbn.me/docs/forms/form-verify-code.md): A six-digit code by email or text that submits on the last digit, clears a wrong code for the next try, and offers a resend.
- [Profile](https://ui.edbn.me/docs/forms/form-profile.md): Photo, name, username, bio, and website, with Save and Discard that turn on once something changes, a live username check, and a prompt before leaving unsaved work.
- [Notification Settings](https://ui.edbn.me/docs/forms/form-notification-settings.md): A table of switches for which topics reach people on which channels.
- [Delete Account](https://ui.edbn.me/docs/forms/form-delete-account.md): A danger zone that lists what deleting removes, then asks the person to type their email in a confirmation dialog, with an optional reason for leaving.
- [Invite Members](https://ui.edbn.me/docs/forms/form-invite-members.md): Rows of email and role.
- [Create Project](https://ui.edbn.me/docs/forms/form-create-project.md): A name, a URL slug that follows it until edited, a live availability check, a region, and visibility cards, with the new project handed back for a redirect.
- [Onboarding](https://ui.edbn.me/docs/forms/form-onboarding.md): A new account's first steps: about you, the workspace, and preferences, then a review with Edit links.
- [Checkout](https://ui.edbn.me/docs/forms/form-checkout.md): Contact, shipping address and method, and billing beside an order summary that follows the choice, with a slot for your payment provider's card fields and amounts kept in cents.
- [Contact](https://ui.edbn.me/docs/forms/form-contact.md): A contact-sales form with team size, a counted message, opt-in marketing email that starts unticked, and a honeypot for simple bots.
- [Support Ticket](https://ui.edbn.me/docs/forms/form-support-ticket.md): A request with what support needs on first read: a category, how badly it's affecting work, guided steps to reproduce, and attachments, with the ticket reference shown after.

Each link is the item's page as Markdown, with its install command, dependencies and examples. Drop the .md for the page itself.

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