---
title: "Node class description must have an `icon` property defined. Deprecated: use `require-node-description-fields` instead (`@n8n/community-nodes/node-cla"
description: "❌ This rule is deprecated."
type: skill
canonical_url: https://claudary.paisolsolutions.com/skills/node-class-description-icon-missing
source: "Claudary"
difficulty: intermediate
author: "Claude Code Knowledge Pack"
date: 2026-07-10T11:31:25.210Z
license: CC-BY-4.0
attribution: "Node class description must have an `icon` property defined. Deprecated: use `require-node-description-fields` instead (`@n8n/community-nodes/node-cla — Claudary (https://claudary.paisolsolutions.com/skills/node-class-description-icon-missing)"
---

# Node class description must have an `icon` property defined. Deprecated: use `require-node-description-fields` instead (`@n8n/community-nodes/node-cla
❌ This rule is deprecated.

## Overview

# Node class description must have an `icon` property defined. Deprecated: use `require-node-description-fields` instead (`@n8n/community-nodes/node-class-description-icon-missing`)

❌ This rule is deprecated.

💡 This rule is manually fixable by [editor suggestions](https://eslint.org/docs/latest/use/core-concepts#rule-suggestions).

<!-- end auto-generated rule header -->

> **Deprecated:** Use [`require-node-description-fields`](require-node-description-fields.md) instead.

## Rule Details

Validates that node classes define an `icon` property in their `description` object. Icons are required for nodes to display correctly in the n8n editor.

## Examples

### ❌ Incorrect

```typescript
export class MyNode implements INodeType {
  description: INodeTypeDescription = {
    displayName: 'My Node',
    name: 'myNode',
    // Missing icon property
  };
}
```

### ✅ Correct

```typescript
export class MyNode implements INodeType {
  description: INodeTypeDescription = {
    displayName: 'My Node',
    name: 'myNode',
    icon: 'file:myNode.svg',
    // ...
  };
}
```

```typescript
export class MyNode implements INodeType {
  description: INodeTypeDescription = {
    displayName: 'My Node',
    name: 'myNode',
    icon: {
      light: 'file:myNode.svg',
      dark: 'file:myNode.dark.svg',
    },
    // ...
  };
}
```

---

Source: [Claudary](https://claudary.paisolsolutions.com/skills/node-class-description-icon-missing) · https://claudary.paisolsolutions.com
