> For the complete documentation index, see [llms.txt](https://docs.tutim.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.tutim.io/api-reference/form-config.md).

# Form Config

{% hint style="info" %}
Look also at **Field Config** - this is the interesting part where you build the form:
{% endhint %}

{% content-ref url="/pages/rg8NzWmaDEkxyNdOKj0F" %}
[Field Config](/api-reference/field-config.md)
{% endcontent-ref %}

## Overview

```jsx
import { FormConfig } from '@tutim/types';
```

This is an interface representing the configuration for a form. It includes the following property:

```typescript
interface FormConfig {
  formId: string;
  fields: FieldConfig[];
  layout?: FormLayout;
  logic?: FormLogic;
}
```

* `fields`: An array of [`FieldConfig`](/api-reference/field-config.md) objects representing the fields in the form.
* `formId`: (optional) Id string to represent the form
* `layout`: (optional) still under development, documentation isn't ready yet
* `logic`: (optional) still under development, documentation isn't ready yet
