+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "Form"
keywords = ["grafana","documentation","sdk","@grafana/ui"]
type = "docs"
+++
## Form() function
### Form() function
Signature
```typescript
export declare function Form({ defaultValues, onSubmit, validateOnMount, validateFieldsOnMount, children, validateOn, maxWidth, }: FormProps): JSX.Element;
```
Import
```typescript
import { Form } from '@grafana/ui';
```
Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| { defaultValues, onSubmit, validateOnMount, validateFieldsOnMount, children, validateOn, maxWidth, } | FormProps<T>
| |
Returns:
`JSX.Element`