Componentsv2.189.1
Iconsv1.19.0
MCPv0.8.62
Tokensv0.34.3

A component to handle submitting forms.

Structure

The Form component renders a native HTML <form> element with a nested <fieldset>. The fieldset allows the Form to control the disabled state of all nested form controls.

The Form maintains its native HTML semantics while the accessibility of child components are handled separately.

Disabled state

When the form is disabled or submitting, the internal <fieldset> receives the disabled attribute. Browsers natively exclude disabled form controls from the tab order and do not announce them to assistive technology.

Keyboard

table
KeyFunction
EnterSubmits the form when a focusable form control or submit button has focus.
Shift+TabMoves focus to the previous focusable element.
TabMoves focus to the next focusable element within the form.

On this page