Form
Create or edit one record: one column, labels above fields, errors in the hint line.
Overview
When to use
- New robot, new site, new mission.
- Editing one record's details.
Use something else
- Many preferences on one page: Settings.
- A long process in steps: the Stepper component.
Blocks
Create and edit form
One column, labels above fields, errors in the hint line on submit with focus on the first, the primary action names the result.
Install
npx shadcn add @syncrobotic/record-form 1280px
Usage rules
- One column.
- On submit, errors appear under their fields and focus moves to the first.
- The primary action names what it does.