FormLayout
Layout
@rockshin/tao-uiArranges form content with consistent label and control alignment.
When to use
Use FormLayout to keep dense forms aligned and predictable.
Recommended
- Use one layout strategy per form.
- Prefer vertical layout on narrow screens.
Avoid
- Do not use the component outside its intended interaction model.
Examples
Basic usage
Account
Your login details.
Multiple sections
Profile
Visible to your teammates.
Contact
Used for account notifications.
Semantic customization
Layout width is customized through the stable root part.
Complete form composition
Compose layout, fields, and actions with native submission feedback.
Responsive form columns
Use CSS Grid on the semantic root to collapse to one column when space is limited.
Grouped form sections
Use section titles for hierarchy and the outer layout for spacing.
Account
Identity and contact
Notifications
Delivery preferences