React Form Layout

The structure around your fields: FormSection (bordered region, uppercase header, one topic each), FormGrid (responsive 1–3 column field grid), FormActions (right-aligned bar with an optional sticky mode and a secondary slot), and ValidationSummary — the page-level error panel whose entries scroll to and focus the failing control. The demo composes Input, Select, UnitInput, Checkbox, and Switch into a working release form — submit it empty to see validation.

Release identity

Shown in the customer download portal.

Timing targets

MHz
ns

Packaging

* required fields

Installation

npx shadcn@latest add form-layout.json

Usage

Loading...

Props

ComponentKey propsDescription
FormSectiontitle, description?Bordered region with uppercase header
FormGridcolumns?: 1 \2 \
FormActionssticky?, secondary?Action bar; secondary renders left-aligned
ValidationSummaryerrors: { field, message }[], title?Error panel; entries focus the field by its id