Skip to Content
BlocksApp shell and pages

Forms

Settings sections with a save bar, a form in a side sheet, a multi-step wizard, inline editing, a multi-select, choice cards, number and money fields, an address that follows its country, and a merge for a save someone else changed first. Built on shadcn Field, with no form library.

Forms built on shadcn's Field (opens in a new tab), with errors your server returns shown beside their fields. Edit Conflict merges a save refused because someone else changed the record first.

Sections

Fields grouped into titled sections, with a save bar that counts unsaved changes.

npx shadcn add @dashboardblocks/forms-01

Settings

Your profile, and the workspace you share with your team.

Profile

How you appear to your team.

42 of 160 characters

Workspace

The name and address your team uses to find this workspace.

app.example.com/acme-store

Preferences

Your time zone, and the emails you get.

Reports and digests use this time zone.

Weekly digest

A summary of your workspace every Monday morning.

Sheet

A record created in a panel that slides in from the side.

npx shadcn add @dashboardblocks/forms-02

Customers

3 customers, newest first.

  • Jonas Weberjonas@northwind.io
    Pro
  • Priya Nairpriya@lumen.dev
    Enterprise
  • Mateo Silvamateo@fieldnote.co
    Free

Wizard

A form in steps, each checked before moving on, with a review of everything before it's created.

npx shadcn add @dashboardblocks/forms-03

New project

Step 1 of 3. Name the project and say what it’s for.

  1. Details
  2. Setup, not started
  3. Review, not started

Optional. Shown to everyone in the workspace.

Inline Edit

One value edited at a time, in place.

npx shadcn add @dashboardblocks/forms-04

Customer details

Each change saves as soon as you confirm it.

Name
Jonas Weber
Email
jonas@northwind.io
Phone
Not set
Company
Northwind Traders
Website
https://northwind.io

Multi-select

Several values picked from a searchable list, each shown as a chip you can remove.

npx shadcn add @dashboardblocks/forms-05

Weekly report

Sent every Monday at 9:00 with last week’s numbers.

3 picked, up to 5. The email shows them in this order.

Each metric is split by these countries.

Choice Cards

One or several options drawn as cards, each with its price and a line of detail.

npx shadcn add @dashboardblocks/forms-06

Billing

Changes apply from your next invoice, on Nov 14.

Billing period
Add-ons

Prices are a month, billed with your plan.

Number and Money

Numbers with their unit or currency, formatted when you leave the field, and minus and plus for a count.

npx shadcn add @dashboardblocks/forms-07

Seats and usage

Billed on the 14th of each month, with usage from the month before.

seats

$588 a month at $49 a seat. 9 are in use, so you can’t go below that.

$
a month

Usage above your plan is billed up to this amount, then new runs pause until the 14th.

% of the cap

They get an email once usage passes $400.00, 80% of $500.00.

Address

An address whose fields follow the country: a state and ZIP code in the US, a postcode in the UK, the postal code before the city in Germany.

npx shadcn add @dashboardblocks/forms-08

Billing address

Printed on every invoice, and used to work out sales tax.

Your company’s name, or yours if you pay personally.

Edit Conflict: Changed Twice, Pro

Your version, theirs and the merged result for every changed field, with the plan and the notes waiting for a pick.

Pro

Editing the customer Acme Corporation

Riley Chen changed this customer while you were editing

2 minutes ago · Version 7

2 fields need a pick. 4 changes were merged for you.

PlanBoth changedWas: Growth
Merged, Pick yours or theirs
NotesBoth changed
Merged, Pick yours or theirs
Billing emailOnly they changed thisWas: ap@acme.example
Merged, billing@acme.example
SeatsYou both made this changeWas: 25
Yours, 40
Theirs, 40
Merged, 40
Renews onOnly you changed thisWas: Mar 31, 2027
Merged, Apr 30, 2027
TagsBoth changed; additions and removals combined
Yours, emea+expansion−trial
Theirs, trialemea+priority
Merged, emea+expansion+priority−trial

2 fields unchanged

Edit Conflict: Deleted Meanwhile, Pro

Your changes to a customer someone deleted, with a way to restore it with them.

Pro

Editing the customer Acme Corporation

Riley Chen deleted this customer

5 minutes ago

Your 5 changes weren’t saved. Restore the customer with them, or discard them.

Plan
ScaleWas: Growth
Seats
40Was: 25
Renews on
Apr 30, 2027Was: Mar 31, 2027
Tags
emea+expansion−trial
Notes
Renewal call booked for March. They want SSO before they add the support team. added Priya asked for a quote for 40 seats on Scale.

On this page