# CoworkDialogButton

A [CoworkDialog](/docs/reference/sdk/interfaces/coworkdialog.md) button.

## Properties

### card?

```ts
card?: boolean;
```

An option row in the body (label over `sublabel`) instead of a footer button.

***

### destructive?

```ts
destructive?: boolean;
```

***

### label

```ts
label: string;
```

***

### primary?

```ts
primary?: boolean;
```

***

### role

```ts
role: "submit" | "cancel";
```

***

### sublabel?

```ts
sublabel?: string;
```

***

### values?

```ts
values?: Record<string, string | number | boolean>;
```

Merged into the answer's values when this button submits.
