[**Documentation**](../../../../README)

***

[Documentation](../../../../README) / [@zerotal/admin](../../README) / [index](../README) / builder

# Function: builder()

> **builder**(`key`): [`Field`](../classes/Field)

Defined in: [admin/src/form/Field.ts:862](https://github.com/zerotaldev/zerotal/blob/1d6fb26b05b18ba077de1bfaeb46c42131cd8b70/packages/admin/src/form/Field.ts#L862)

Builder → array of typed blocks, each with its own schema. Declare the
block types with [builderBlock](builderBlock). Stored as `[{ type, data }]`:

  builder("content").blocks([
    builderBlock("paragraph").schema([textarea("text")]),
    builderBlock("image").icon("photo").schema([fileUpload("src").image()]),
  ])

## Parameters

### key

`string`

## Returns

[`Field`](../classes/Field)
