---
id: "packages/active-grid/api/primitives"
title: "Primitives"
description: "SortIndicator, CellErrorBoundary, FilterIcon: generated from the source of active-grid."
url: "/packages/active-grid/api/primitives"
locale: "en"
revision: "g0mvjxwj5c-88bdbe1c:primitives"
---

# Primitives

Exported by `@workspace/active-grid`. Generated from the package source; part of [the index of every export](/packages/active-grid/api).

## `SortIndicator`

| Prop | Type | Required | Description |
| --- | --- | --- | --- |
| `direction` | `"asc" \| "desc" \| false` | yes |  |
| `index` | `number` | no | The column's 0-based sort priority (`Column.getSortIndex()`). |
| `showIndex` | `boolean` | no | Show the 1-based priority badge. The grid header passes `true` only while two or more columns are sorted; every sorted column then shows its priority, the first one included. |

## `CellErrorBoundary`

| Prop | Type | Required | Description |
| --- | --- | --- | --- |
| `children` | `ReactNode` | yes |  |
| `fallback` | `ReactNode` | no |  |

## `FilterIcon`

| Prop | Type | Required | Description |
| --- | --- | --- | --- |
| `isActive` | `boolean` | no |  |
| `isOpen` | `boolean` | no |  |
