---
url: /reference/api/logger/prompts.Interface.LimitOptionsParams.md
---
# Interface: LimitOptionsParams\<TOption>

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

Options for the [limitOptions](prompts.Variable.limitOptions.md) function.

## Extends

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

## Type Parameters

&#x20;`TOption`

## 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;`columnPadding?`

`number`

Number of columns to reserve for padding.

**Default**

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

‐

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

&#x20;`cursor`

`number`

The index of the currently active/selected option.

‐

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

&#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;`maxItems?`

`number`

Maximum number of options to display at once.

**Default**

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

‐

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

&#x20;`options`

readonly `TOption`\[]

The list of options to display.

‐

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

&#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;`rowPadding?`

`number`

Number of rows to reserve for padding.

**Default**

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

‐

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

&#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;`style`

(`option`, `active`) => `string`

A function that styles the given option string.

‐

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

&#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
