Back to blocks
BlockDashboard / ApplicationFree

Form Layout React component

A full settings form laid out in sections, with titles on the left and fields in cards on the right: profile with a workspace URL that follows the name, a brand color picker and a character counter, a billing contact address grid, and email and push notification choices. Changed fields get a dot, a sticky bar counts unsaved changes, and saving checks every field and jumps to the first problem.

About the Form Layout component

Form Layout is a full settings page built the way long forms read best: each group of fields gets a short title and a sentence on the left, and the fields sit in a card on the right. It covers a workspace profile, a billing contact address and notification choices.

It behaves like a real form. Changed fields get a small dot, a sticky bar counts unsaved changes with Discard and Save, and saving checks every field. If something is wrong, the bar says how many fields need attention and the first one is focused and scrolled into view.

When to use it

Use it for account, workspace, profile or billing settings, or any form long enough to need sections.

Choose the split layout for wide settings pages and the stacked layout for narrow ones or when the form sits next to a sidebar.

Installation

Add the Form Layout component to your project with the shadcn CLI. It lands in components/form-layout.tsx as plain React + Tailwind CSS source you own and can edit.

Install
Copied!
npx shadcn@latest add @reactframe/form-layout

Or copy the source by hand and install its dependencies:

Install
Copied!
npm install motion clsx tailwind-merge

More Dashboard / Application components

Radio Group Cards
Free
Action Panel
Free
Vertical Navigation
Free
Stacked List
Free
Event Calendar
Free
Grid List
Free