---
url: /reference/api/logger/prompts.Interface.ConfirmOptions.md
---
# Interface: ConfirmOptions

Defined in: node\_modules/.pnpm/@clack+prompts@1.9.0/node\_modules/@clack/prompts/dist/index.d.mts:296

Options for the [confirm](prompts.Variable.confirm.md) prompt.

## Extends

* [`CommonOptions`](prompts.Interface.CommonOptions.md)

## Properties

&#x20;`accessible?`

`boolean`

‐

[`CommonOptions`](prompts.Interface.CommonOptions.md).[`accessible`](prompts.Interface.CommonOptions.md#property-accessible)

node\_modules/.pnpm/@clack+prompts@1.9.0/node\_modules/@clack/prompts/dist/index.d.mts:42

&#x20;`active?`

`string`

The label to use for the active (true) option.

**Default**

```ts twoslash
// @include: imports
"Yes";
```

‐

node\_modules/.pnpm/@clack+prompts@1.9.0/node\_modules/@clack/prompts/dist/index.d.mts:305

&#x20;`inactive?`

`string`

The label to use for the inactive (false) option.

**Default**

```ts twoslash
// @include: imports
"No";
```

‐

node\_modules/.pnpm/@clack+prompts@1.9.0/node\_modules/@clack/prompts/dist/index.d.mts:310

&#x20;`initialValue?`

`boolean`

The initial selected value (true or false).

**Default**

```ts twoslash
// @include: imports
true;
```

‐

node\_modules/.pnpm/@clack+prompts@1.9.0/node\_modules/@clack/prompts/dist/index.d.mts:315

&#x20;`input?`

`Readable`

‐

[`CommonOptions`](prompts.Interface.CommonOptions.md).[`input`](prompts.Interface.CommonOptions.md#property-input)

node\_modules/.pnpm/@clack+prompts@1.9.0/node\_modules/@clack/prompts/dist/index.d.mts:38

&#x20;`message`

`string`

The message or question shown to the user above the input.

‐

node\_modules/.pnpm/@clack+prompts@1.9.0/node\_modules/@clack/prompts/dist/index.d.mts:300

&#x20;`output?`

`Writable`

‐

[`CommonOptions`](prompts.Interface.CommonOptions.md).[`output`](prompts.Interface.CommonOptions.md#property-output)

node\_modules/.pnpm/@clack+prompts@1.9.0/node\_modules/@clack/prompts/dist/index.d.mts:39

&#x20;`signal?`

`AbortSignal`

‐

[`CommonOptions`](prompts.Interface.CommonOptions.md).[`signal`](prompts.Interface.CommonOptions.md#property-signal)

node\_modules/.pnpm/@clack+prompts@1.9.0/node\_modules/@clack/prompts/dist/index.d.mts:40

&#x20;`vertical?`

`boolean`

Whether to render the options vertically instead of horizontally.

**Default**

```ts twoslash
// @include: imports
false;
```

‐

node\_modules/.pnpm/@clack+prompts@1.9.0/node\_modules/@clack/prompts/dist/index.d.mts:320

&#x20;`withGuide?`

`boolean`

‐

[`CommonOptions`](prompts.Interface.CommonOptions.md).[`withGuide`](prompts.Interface.CommonOptions.md#property-withguide)

node\_modules/.pnpm/@clack+prompts@1.9.0/node\_modules/@clack/prompts/dist/index.d.mts:41
