# FormUiSchema (@salmonui/inputs/form-renderer)

> The FormUiSchema interface of @salmonui/inputs/form-renderer: Layout and widget choices.

Canonical: https://salmonui.dev/docs/reference/inputs/form-renderer/FormUiSchema

```ts
import type { FormUiSchema } from '@salmonui/inputs/form-renderer';
```

Entry index: https://salmonui.dev/docs/reference/inputs/form-renderer (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/inputs/form-renderer.md).

## Reference

Kind: interface

```ts
interface FormUiSchema {
    readonly layout?: readonly (string | readonly string[])[] | undefined;
    readonly fields?: Readonly<Record<string, FormUiField>> | undefined;
    readonly submit?: false | {
        readonly label?: ReactNode;
        readonly tone?: ButtonTone | undefined;
        readonly variant?: ButtonVariant | undefined;
    } | undefined;
}
```

Layout and widget choices.

Members (3):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `layout` | `readonly layout?: readonly (string \| readonly string[])[] \| undefined;` | optional | Ordered rows: a property name, or names shown side by side as equal columns. Unlisted properties follow in schema order. |
| `fields` | `readonly fields?: Readonly<Record<string, FormUiField>> \| undefined;` | optional |  |
| `submit` | `readonly submit?: false \| {     readonly label?: ReactNode;     readonly tone?: ButtonTone \| undefined;     readonly variant?: ButtonVariant \| undefined; } \| undefined;` | optional | The submit `Button`; `false` hides it. |
