---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
  - property: og:type
    content: article
  - property: article:section
    content: Plugin platform
  - property: og:title
    content: MetaEntityIcon
  - property: article:tag
    content: Техническая инструкция
alternate:
  - https://yandex.ru/support/tracker/en/plugins/components/meta-entity-icon.md
  - https://yandex.ru/support/tracker/ru/plugins/components/meta-entity-icon.md
  - href: en/plugins/components/meta-entity-icon.md
    type: text/markdown
    title: Markdown version
  - href: ../../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://yandex.ru/support/tracker/en/llms.txt

[← Back to components list](https://yandex.ru/support/tracker/en/plugins/components/index.md)

# MetaEntityIcon {#meta-entity-icon}

A universal icon component for Tracker meta-entities. Automatically selects the appropriate icon based on the entity type:

- **project** — for projects
- **portfolio** — for portfolios
- **icon** — for goals

## Usage {#usage}

```tsx
import {MetaEntityIcon} from '@weavix/tracker-components';
import type {MetaEntityV2} from '@weavix/tracker-api-types';

// entity — a MetaEntityV2 object from Tracker API
<MetaEntityIcon entity={entity} />
```

## Props {#props}

| Prop | Type | Description |
|---|---|---|
| `entity` | `MetaEntityV2` | Meta-entity object from Tracker API. The entity type determines which icon will be displayed |
