> For AI agents: the complete documentation index is available at /next/llms.txt, the full documentation bundle is available at /next/llms-full.txt.

# Variable: Form

> `const` **Form**: `DefinedComponent`\<`ZodObject`\<\{ `buttons`: `$ZodType`\<[`SubComponentOf`](/next/api/genui/openui/core/type-aliases/SubComponentOf.md)\<\{ `buttons`: [`SubComponentOf`](/next/api/genui/openui/core/type-aliases/SubComponentOf.md)\<\{ `action?`: \{ `steps`: ...; } | \{ `context?`: ...; `params?`: ...; `type?`: ...; `url?`: ...; }; `label`: `string`; `size?`: `"extra-small"` | `"small"` | `"medium"` | `"large"`; `type?`: `"normal"` | `"destructive"`; `variant?`: `"primary"` | `"secondary"` | `"tertiary"`; }>\[]; `direction?`: `"row"` | `"column"`; }>, `unknown`, `$ZodTypeInternals`\<[`SubComponentOf`](/next/api/genui/openui/core/type-aliases/SubComponentOf.md)\<\{ `buttons`: [`SubComponentOf`](/next/api/genui/openui/core/type-aliases/SubComponentOf.md)\<\{ `action?`: ... | ... | ...; `label`: `string`; `size?`: ... | ... | ... | ... | ...; `type?`: ... | ... | ...; `variant?`: ... | ... | ... | ...; }>\[]; `direction?`: `"row"` | `"column"`; }>, `unknown`>>; `fields`: `ZodDefault`\<`ZodArray`\<`$ZodType`\<[`SubComponentOf`](/next/api/genui/openui/core/type-aliases/SubComponentOf.md)\<\{ `hint?`: `string`; `input`: [`SubComponentOf`](/next/api/genui/openui/core/type-aliases/SubComponentOf.md)\<\{ `name`: ...; `placeholder?`: ...; `rules?`: ...; `type?`: ...; `value`: ...; }> | [`SubComponentOf`](/next/api/genui/openui/core/type-aliases/SubComponentOf.md)\<\{ `name`: ...; `placeholder?`: ...; `rows?`: ...; `rules?`: ...; `value`: ...; }> | [`SubComponentOf`](/next/api/genui/openui/core/type-aliases/SubComponentOf.md)\<\{ `defaultValue?`: ...; `label?`: ...; `max`: ...; `min`: ...; `name`: ...; `rules?`: ...; `step?`: ...; `value`: ...; `variant`: ...; }> | [`SubComponentOf`](/next/api/genui/openui/core/type-aliases/SubComponentOf.md)\<\{ `items`: ...; `name`: ...; `rules?`: ...; `value`: ...; }> | [`SubComponentOf`](/next/api/genui/openui/core/type-aliases/SubComponentOf.md)\<\{ `defaultValue?`: ...; `items`: ...; `name`: ...; `rules?`: ...; `value`: ...; }>; `label`: `string`; }>, `unknown`, `$ZodTypeInternals`\<[`SubComponentOf`](/next/api/genui/openui/core/type-aliases/SubComponentOf.md)\<\{ `hint?`: `string`; `input`: [`SubComponentOf`](/next/api/genui/openui/core/type-aliases/SubComponentOf.md)\<...> | [`SubComponentOf`](/next/api/genui/openui/core/type-aliases/SubComponentOf.md)\<...> | [`SubComponentOf`](/next/api/genui/openui/core/type-aliases/SubComponentOf.md)\<...> | [`SubComponentOf`](/next/api/genui/openui/core/type-aliases/SubComponentOf.md)\<...> | [`SubComponentOf`](/next/api/genui/openui/core/type-aliases/SubComponentOf.md)\<...>; `label`: `string`; }>, `unknown`>>>>; `name`: `ZodString`; }, `$strip`>, () => `null`>

Server-safe Form component contract.
