# components

Registers local custom renderers, editors, filters, and other components for this Grid.

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

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

## What does this API do?

Registers local custom renderers, editors, filters, and other components for this Grid.

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

## Exact input and result types

```typescript
components: GridComponentLocalDefinitions<
    GridData,
    unknown,
    unknown,
    unknown
  >
```

| Item | Value |
| --- | --- |
| JavaScript name | components |
| HTML attribute | components |
| Default | undefined |
| Input type | GridComponentLocalDefinitions<<br>    GridData,<br>    unknown,<br>    unknown,<br>    unknown<br>  > |

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

## Usage flow

Set this on a property of the Grid element. Pass arrays, objects, and callbacks through JavaScript, and use new arrays or objects when applying changes.

<a id="types"></a>

## Read related types

- [GridComponentLocalDefinitions](https://grid.syidax.com/docs/types/GridComponentLocalDefinitions.md)
- [GridData](https://grid.syidax.com/docs/types/GridData.md)

<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.
