Skip to content
SevenUI
Sign inGet Pro

Form components

14 free, copy-and-go React Form examples built on the SevenUI Form primitive. Install any of them with the shadcn CLI.

On this page

Native validation sign-in

A sign-in form that uses native constraints with a custom FieldError message for each validity state.

… add @sevenui/component/form-01… add @sevenui/ui-sdk/component/form-01

Sign in to Ledgerly

Use the email your workspace admin invited.

At least 8 characters.

Validation timing modes

A toggle group switches the form between onSubmit, onBlur, and debounced onChange validation for a handle claim.

… add @sevenui/component/form-02… add @sevenui/ui-sdk/component/form-02
Validate

Errors appear after the first submit, then update as you type.

Your public profile address.

Server-side errors

Sign-up errors returned by a server are passed through the errors prop, with a list of password issues that clears as you edit.

… add @sevenui/component/form-03… add @sevenui/ui-sdk/component/form-03

Checked by the server when you submit.

Submission states

A newsletter signup that walks through submitting, failed with a retry alert, and a confirmation panel.

… add @sevenui/component/form-04… add @sevenui/ui-sdk/component/form-04

Get the release notes

One email per release. Unsubscribe anytime.

We'll send a link to confirm it's you.

Read-only and edit mode

An emergency contact shown as read-only inputs until you select Edit, with Save, Cancel, Escape to cancel, and managed focus.

… add @sevenui/component/form-05… add @sevenui/ui-sdk/component/form-05

Emergency contact

Who we call if something happens at work. Visible to HR only.

Read-only. Select Edit to change these details.

Error summary

A shipping address form that lists every error in a summary alert, with links that move focus to each field.

… add @sevenui/component/form-06… add @sevenui/ui-sdk/component/form-06

Shipping address

Type-to-confirm deletion

A danger-zone form that deletes a project only after you type its exact name and tick an acknowledgement, then offers a restore.

… add @sevenui/component/form-07… add @sevenui/ui-sdk/component/form-07

Delete project

This removes acme-marketing-site for everyone on the Acme team.

Deployments
214
Custom domains
3
Env variables
18

You can restore it for 30 days. After that it's erased for good.

Change password

Current, new, and confirm password fields cross-checked with formValues, show/hide toggles, and a wrong-password server error.

… add @sevenui/component/form-08… add @sevenui/ui-sdk/component/form-08

Change password

Last changed 94 days ago. New passwords need 12 characters.

The demo account uses correct-horse-42.

Ends 3 active sessions on your phone, tablet, and work laptop.

Out-of-office auto-reply

A switch-gated auto-reply with a date range that validates against the start date, a days-away summary, and a required message.

… add @sevenui/component/form-09… add @sevenui/ui-sdk/component/form-09

Answer incoming email automatically while you're away.

Away 5 days, back on the next working day.

Send replies to

Each sender gets this reply once per day.

Billing tax details

A tax ID field whose label and format change with the country, a simulated VAT registry rejection, and the resulting tax treatment.

… add @sevenui/component/form-10… add @sevenui/ui-sdk/component/form-10

Tax details

Printed on every invoice from your next billing date, October 1.

Receipts and payment failures go here, not to your login email.

Scheduled report delivery

Schedule a dashboard report daily, weekly, or monthly, with a validated recipient list, an attachment format, and a next-delivery preview.

… add @sevenui/component/form-11… add @sevenui/ui-sdk/component/form-11

Schedule email delivery

Send a snapshot of this dashboard to your team on a regular cadence.

Frequency

Separate addresses with commas. People outside Acme get a view-only link.

Attachment

Next: Monday, September 28 at 9:00 AM

Order return request

Pick items to return with a reason for each, choose refund or store credit with a live total, and get a return number.

… add @sevenui/component/form-12… add @sevenui/ui-sdk/component/form-12

Return items

Order SU-20418, delivered September 18. Free returns until October 18.

What are you sending back?
Oat, size M
$98.00
Olive
$145.00
Charcoal, size L
Final sale
Refund to

Refund $0.00

Environment variables editor

Add and remove key/value rows, catch duplicate names across fields, reject reserved names from the server, and paste a .env file to import it.

… add @sevenui/component/form-13… add @sevenui/ui-sdk/component/form-13

Environment variables

Encrypted at rest and exposed to builds and serverless functions.

Apply to

Paste a whole .env file into any name field to import every line at once.

Workspace onboarding wizard

A three-step onboarding flow where each step is its own form, with a generated URL slug, a taken-URL server error, and skippable invites.

… add @sevenui/component/form-14… add @sevenui/ui-sdk/component/form-14
Step 1 of 3
x

Create your workspace

This is where your team's projects and docs will live.

sevenui.app/

Filled in from the name. You can change it later.

Components are the parts. Blocks are the page.

Pro blocks are whole sections and pages — heroes, pricing, dashboards, auth — composed from the same primitives and themed by the same tokens you already use. Install one and it is yours.

One purchase, yours forever. $99 at launch instead of $249.