useFormControlForwardedProps

Provides the accessibility features of the FormControl component.

This hook may be used when you are creating an accessible form control that doesn't use one of the provided form control components (TextInput, Radio, Select, etc.).

Example

This is not a Primer input, but it still has `aria-describedby` and similar attributes applied automatically

API

Loading data for useFormControlForwardedProps...