Skip to content

Form

A form is a collection of input elements that allows the user to submit data to a server.

Import

Terminal window
import { Form } from "@aeonkit/react";

Usage

Default

The Form component is used to wrap form elements with a form tag.

Helper Text

Use this component to provide additional information about the input field.

Your cool first name

Error

Use this component to display an error message when the input field is invalid. Add the invalid prop to the Form.Control component to apply error styles.

First name is required

Props

API Interface: FormProps