# componentTimeoutMs

Maximum wait for preparing asynchronous user components. Handle delays and failures with componentError.

Canonical: https://grid.syidax.com/docs/options/componentTimeoutMs/

<a id="meaning"></a>

## What does this API do?

Maximum wait for preparing asynchronous user components. Handle delays and failures with componentError.

<a id="contract"></a>

## Exact input and result types

```typescript
componentTimeoutMs: number
```

| Item | Value |
| --- | --- |
| JavaScript name | componentTimeoutMs |
| HTML attribute | component-timeout-ms |
| Default | 5_000 |
| Input type | number |

<a id="usage"></a>

## Usage flow

Set this on a property of the Grid element. In HTML, you can also use the component-timeout-ms attribute. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

<a id="recipes"></a>

## Feature explanations and examples

- [Customize cell appearance](https://grid.syidax.com/docs/features/custom-cells.md) — Cell renderers change how data is displayed. Use them for status badges, links, and action buttons while retaining the original values for sorting and filtering.
