> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# ConditionalFormattingTarget

- Package: [@gooddata/sdk-model](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/index.md)
- Kind: type-alias
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-model/src/conditionalFormatting/index.ts

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Identifies the measure or attribute a conditional-formatting rule targets. Layout-neutral on purpose: the same target applies whether the item renders as a column or — when transposed — as a row, so the rule survives a transpose without re-pointing.

**Signature:**

```typescript
export type ConditionalFormattingTarget = {
    kind: "attribute";
    attributeIdentifier: string;
} | {
    kind: "measure";
    measureIdentifier: string;
};
```
