Skip to main content

FormLegend

Deprecated

Deprecated: - Use a `<FormGroup>` with the `title` prop instead.

Component that represents caption for the content of its parent <fieldset>. Uses the <Text> component for typography styling.

Examples

Form Legend

View standalone
Quisque dictum tristique

Code
<FormLegend>
Quisque dictum tristique
</FormLegend>

Props

className

string

The className property sets the value of the class attribute of the element.