Form
Forms allow users to enter data that can then be submitted for processing. Use forms for login, settings, registration, or any data collection task.
Login Example
# Direct linkWelcome Back
Settings Example
Grid LayoutValidation States
error
Username contains invalid characters.
check_circle
Username is available!
API Reference
| Property | Type | Default | Description |
|---|---|---|---|
| layout | 'vertical' | 'horizontal' | 'vertical' | The visual layout of label and input pairings. |
| onSubmit | (values) => void | undefined | Callback triggered when the form is submitted. |
| initialValues | object | {} | Key-value pairs for initial field values. |