Dashboardblocks
Components

Forms

Settings sections with a save bar, a form in a side sheet, a multi-step wizard and inline editing. Built on shadcn Field, with no form library.

The fields use shadcn's Field. State lives in useSimpleForm, a small hook in the primitives. It validates a field when it loses focus with a value in it, and the whole form on submit, focuses the first invalid field, and shows errors your server returns.

To use React Hook Form or TanStack Form instead, keep the layout and swap useSimpleForm for your library's hook. The fields take the same id, name, value, onChange, onBlur and aria-invalid props.

Sections

Fields grouped into titled sections. A save bar appears while there are unsaved changes. Try the URL "acme" to see an error from the server.

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

Reports and digests use this time zone.

Weekly digest

A summary of your workspace every Monday morning.

Sheet

Create a record in a panel that slides in from the side. Try the email "taken@example.com" to see an error from the server.

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

Wizard

A form in steps. Next checks the current step before moving on, and the last step reviews everything before it's created.

New project
Step 1 of 3
  1. 1.Details
  2. 2.Setup, not started
  3. 3.Review, not started

Optional. Shown to everyone in the workspace.

Inline Edit

Edit one value at a time, in place. Enter saves and Escape cancels.

Customer details
Changes save as soon as you confirm them.
Name
Jonas Weber
Email
jonas@northwind.io
Phone
Not set
Company
Northwind Traders
Website
https://northwind.io

On this page