Skip to content
Zuno UI
Explore components
EXPLORE
Actions
Forms
Layout
Navigation
Data display
Feedback
Overlays
RESOURCES
Components/FormSection

FormSection

Semantic form groups with a legend, description and shared spacing.

Profile

How others see you.

Installation

Run it from the root of a project already set up with zunoui init.

npx zunoui@latest add form-section

Dependencies

What add form-section installs alongside the component. The CLI skips any you already have in a compatible version.

ZUNO registry

  • @zuno/utils

Examples

1 examples · 1 component
form-section
Profile

How others see you.

Field group

Legend, description and fields with a shared rhythm.

API reference

Forwards props and ref to the container element; it only adds composition utilities.

PropTypeDefault
FormSection

Groups a set of related fields.

fieldset—
FormSectionHeader

Holds the legend and description.

div—
FormSectionTitle

Accessible legend for the group.

legend—
FormSectionDescription

Explanation of the group.

p—
FormSectionContent

Fields with consistent spacing.

div—

Accessibility

Uses fieldset and legend to associate the group with its fields for screen readers.

Proximity expresses relationship: fields in a group sit closer to each other than to the next group.