FormSection
FormSection — Prism component.
Signature
Density
Viewport
Theme follows the navbar ☀/☾ toggleWhen to use
FormSection — Prism component.
Accessibility
Always render a visible <label> (the label prop wires htmlFor/id for you). Errors set aria-invalid and are announced via aria-describedby. Required fields expose aria-required.
Import
const { FormSection } = window.PrismDesignSystem_39d121;
Props
| Prop | Type | Required | Description |
|---|---|---|---|
legend | React.ReactNode | — | |
description | React.ReactNode | — | |
card | boolean | — | Wrap the section in a card surface. |
actions | React.ReactNode | — |