Skip to content
kapable

FormSection

Forms · 1 export · v0.1.0 · showcase

Semantic fieldset grouping several related fields under one legend and hint.

Browse 72 component families
Notifications

Where deployment receipts should go.

Usage

FormSection usage
<FormSection legend="Notifications"><Field label="Email" name="email" /></FormSection>

API

FormSection API

FormSectionProps

A labelled group of Fields: a real `<fieldset>/<legend>` (the grouping semantics long forms need — AT announces the legend with each control) with the UA chrome reset and the kit's form rhythm. RadioGroup carries its own fieldset for one decision; FormSection groups SEVERAL Fields ("Notifications", "Danger zone"). Zero JS.

FormSection props
proptypenotes
legendstringThe group name — a real `<legend>`, announced with each control.
hint?stringQuiet context line under the legend.
children?RemixNode
mix?MixInput

More in Forms

More in Forms